Method AddProperty
AddProperty(ConnectivityInterfaceProperty)
Adds the specified interface property to this interface.
public bool AddProperty(ConnectivityInterfaceProperty prop)
Parameters
prop
ConnectivityInterfacePropertyThe 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
stringThe name of the interface property.
type
stringThe type of the interface property.
value
stringThe value of the interface property.
id
intThe 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
stringThe name of the interface property.
type
stringThe type of the interface property.
value
stringThe value of the interface property.
prop
ConnectivityInterfacePropertyThe added property.
timeoutMs
intThe 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).