Table of Contents

Method AddProperty

Namespace
Skyline.DataMiner.Scripting
Assembly
SLManagedScripting.dll

AddProperty(ConnectivityConnectionProperty)

Adds the specified property to this connection.

public bool AddProperty(ConnectivityConnectionProperty prop)

Parameters

prop ConnectivityConnectionProperty

The property to add.

Returns

bool

true if adding the property succeeded; otherwise, false.

Remarks

Feature introduced in DataMiner 8.5.3 (RN 8854).

AddProperty(ConnectivityConnectionProperty, bool)

Adds the specified connection property to this connection.

public bool AddProperty(ConnectivityConnectionProperty prop, bool both)

Parameters

prop ConnectivityConnectionProperty

The connection property to add.

both bool

true if the property should be added to both ends of the connection; otherwise, false.

Returns

bool

true if adding the property succeeded; otherwise, false.

Remarks

When both is set to true, the connection must be known by both the source and destination element.

Feature introduced in DataMiner 9.5.1 (RN 14594).

AddProperty(string, string, string, out int)

Adds the specified connection property to this connection.

public bool AddProperty(string name, string type, string value, out int id)

Parameters

name string

The name of the property.

type string

The type of the property.

value string

The value of the property.

id int

The ID of the property.

Returns

bool

true if adding the property succeeded; otherwise, false.

Remarks

Feature introduced in DataMiner 8.5.3 (RN 8854).

AddProperty(string, string, string, out int, bool)

Adds the specified connection property to this connection.

public bool AddProperty(string name, string type, string value, out int id, bool both)

Parameters

name string

The name of the property.

type string

The property type.

value string

The property value.

id int

The ID of the property.

both bool

true if the property should be added to both ends of the connection; otherwise, false.

Returns

bool

true if adding the property succeeded; otherwise, false.

Remarks

When both is set to true, the connection must be known by both the source and destination element.

Feature introduced in DataMiner 9.5.1 (RN 14594).

AddProperty(string, string, string, out ConnectivityConnectionProperty, int)

Adds the specified connection property to this connection.

public bool AddProperty(string name, string type, string value, out ConnectivityConnectionProperty prop, int timeoutMs)

Parameters

name string

The name of the property.

type string

The property type.

value string

The property value.

prop ConnectivityConnectionProperty

The created property.

timeoutMs int

The property addition timeout.

Returns

bool

true if adding the property succeeded; otherwise, false.

Remarks

In case the property was not created within the specified timeout, false will be returned. However, the message will still be handled by DataMiner.

Feature introduced in DataMiner 8.5.3 (RN 8854).

AddProperty(string, string, string, out ConnectivityConnectionProperty, int, bool)

Adds the specified connection property to this connection.

public bool AddProperty(string name, string type, string value, out ConnectivityConnectionProperty prop, int timeoutMs, bool both)

Parameters

name string

The name of the property.

type string

The property type.

value string

The property value.

prop ConnectivityConnectionProperty

The created property.

timeoutMs int

The property addition timeout.

both bool

true if the property should be added to both ends of the connection; otherwise, false.

Returns

bool

true if adding the property succeeded; otherwise, false.

Remarks

In case the property was not created within the specified timeout, false will be returned. However, the message will still be handled by DataMiner.

Feature introduced in DataMiner 9.5.1 (RN 14594).