Table of Contents

Method AddProperty

Namespace
Skyline.DataMiner.Scripting
Assembly
SLManagedScripting.dll

AddProperty(ConnectivityInterfaceProperty)

Adds the specified interface property to this interface.

public bool AddProperty(ConnectivityInterfaceProperty prop)

Parameters

prop ConnectivityInterfaceProperty

The interface property to add.

Returns

bool

true if the operation succeeded; otherwise, false.

Remarks

Feature introduced in DataMiner 8.5.3 (RN 8854).

AddProperty(string, string, string, out int)

Adds a property with the specified name, value and type.

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

Parameters

name string

The name of the interface property.

type string

The type of the interface property.

value string

The value of the interface property.

id int

The ID of the interface property.

Returns

bool

true if the operation succeeded; otherwise, false.

Remarks

Feature introduced in DataMiner 8.5.3 (RN 8854).

AddProperty(string, string, string, out ConnectivityInterfaceProperty, int)

Adds a property with the specified name, value and type.

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

Parameters

name string

The name of the interface property.

type string

The type of the interface property.

value string

The value of the interface property.

prop ConnectivityInterfaceProperty

The added property.

timeoutMs int

The property addition timeout.

Returns

bool

true if the operation 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).