Method AddProperty
AddProperty(ConnectivityConnectionProperty)
Adds the specified property to this connection.
public bool AddProperty(ConnectivityConnectionProperty prop)
Parameters
prop
ConnectivityConnectionPropertyThe 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
ConnectivityConnectionPropertyThe connection property to add.
both
booltrue
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
stringThe name of the property.
type
stringThe type of the property.
value
stringThe value of the property.
id
intThe 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
stringThe name of the property.
type
stringThe property type.
value
stringThe property value.
id
intThe ID of the property.
both
booltrue
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
stringThe name of the property.
type
stringThe property type.
value
stringThe property value.
prop
ConnectivityConnectionPropertyThe created property.
timeoutMs
intThe 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
stringThe name of the property.
type
stringThe property type.
value
stringThe property value.
prop
ConnectivityConnectionPropertyThe created property.
timeoutMs
intThe property addition timeout.
both
booltrue
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).