Method AddProperty
AddProperty(ConnectivityInterfaceProperty)
Adds the specified interface property to this interface.
public bool AddProperty(ConnectivityInterfaceProperty prop)
Parameters
propConnectivityInterfacePropertyThe interface property to add.
Returns
- bool
trueif the operation succeeded; otherwise,false.
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
namestringThe name of the interface property.
typestringThe type of the interface property.
valuestringThe value of the interface property.
idintThe ID of the interface property.
Returns
- bool
trueif the operation succeeded; otherwise,false.
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
namestringThe name of the interface property.
typestringThe type of the interface property.
valuestringThe value of the interface property.
propConnectivityInterfacePropertyThe added property.
timeoutMsintThe property addition timeout.
Returns
- bool
trueif 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.