Method AddConnection
AddConnection(ConnectivityInterface, bool)
Adds a connection between this interface and the specified destination interface.
public bool AddConnection(ConnectivityInterface destItf, bool addBothCOnnections)
Parameters
destItfConnectivityInterfaceThe destination interface.
addBothCOnnectionsbooltrueif the connection entry should also be added to the destination connections table; otherwise,false.
Returns
- bool
trueif addition succeeded; otherwise,false.
AddConnection(string, int, bool)
Adds a connection between this interface and the specified destination interface.
public bool AddConnection(string destElementKey, int destItf, bool addBothConnections)
Parameters
destElementKeystringThe element key ("DataMiner Agent ID/element ID") of the element that owns the destination interface.
destItfintThe destination interface ID.
addBothConnectionsbooltrueif the connection entry should also be added to the destination connections table; otherwise,false.
Returns
- bool
trueif the operation succeeded; otherwise,false.
AddConnection(ConnectivityInterface, string, bool)
Adds a connection between this interface and the specified destination interface.
public bool AddConnection(ConnectivityInterface destItf, string filter, bool addBothCOnnections)
Parameters
destItfConnectivityInterfaceThe destination interface.
filterstringThe connection filter.
addBothCOnnectionsbooltrueif the connection entry should be added to both ends of the connection; otherwise,false.
Returns
- bool
trueif the operation succeeded; otherwise,false.
AddConnection(string, string, ConnectivityInterface, bool)
Adds a connection between this interface and the specified destination interface.
public bool AddConnection(string sourceName, string destName, ConnectivityInterface destItf, bool addBothConnections)
Parameters
sourceNamestringThe name to apply to this connection on the source.
destNamestringThe name to apply to this connection on the destination.
destItfConnectivityInterfaceThe destination interface.
addBothConnectionsbooltrueif the connection entry should be added to both ends of the connection; otherwise,false.
Returns
- bool
trueif the operation succeeded; otherwise,false.
AddConnection(ConnectivityInterface, bool, out int, out int)
Adds a connection between this interface and the specified destination interface.
public bool AddConnection(ConnectivityInterface destItf, bool addBothCOnnections, out int sourcePK, out int destPK)
Parameters
destItfConnectivityInterfaceThe destination interface.
addBothCOnnectionsbooltrueif the connection entry should be added to both ends of the connection; otherwise,false.sourcePKintThe ID (primary key) of the connections table entry at the source.
destPKintThe ID (primary key) of the connections table entry at the destination.
Returns
- bool
trueif the operation succeeded; otherwise,false.
Remarks
Feature introduced in DataMiner 8.5.2 (RN 8438).
AddConnection(string, int, string, bool)
Adds a connection between this interface and the specified destination interface.
public bool AddConnection(string destElementKey, int destItf, string filter, bool addBothConnections)
Parameters
destElementKeystringThe element key ("DataMiner Agent ID/element ID") of the destination element.
destItfintThe destination interface.
filterstringThe connection filter.
addBothConnectionsbooltrueif the connection entry should be added to both ends of the connection; otherwise,false.
Returns
- bool
trueif the operation succeeded; otherwise,false.
AddConnection(string, string, ConnectivityInterface, string, bool)
Adds a connection between this interface and the specified destination interface.
public bool AddConnection(string sourceName, string destName, ConnectivityInterface destItf, string filter, bool addBothConnections)
Parameters
sourceNamestringThe name to apply to this connection on the source.
destNamestringThe name to apply to this connection on the destination.
destItfConnectivityInterfaceThe destination interface.
filterstringThe connection filter.
addBothConnectionsbooltrueif the connection entry should be added to both ends of the connection; otherwise,false.
Returns
- bool
trueif the operation succeeded; otherwise,false.
AddConnection(ConnectivityInterface, bool, out ConnectivityConnection, out ConnectivityConnection, int)
Adds a connection between this interface and the specified destination interface.
public bool AddConnection(ConnectivityInterface destItf, bool addBothCOnnections, out ConnectivityConnection sourceConn, out ConnectivityConnection destConn, int timeoutMs)
Parameters
destItfConnectivityInterfaceThe destination interface.
addBothCOnnectionsbooltrueif the connection entry should be added to both ends of the connection; otherwise,false.sourceConnConnectivityConnectionThe connection added to the source.
destConnConnectivityConnectionThe connection added to the destination.
timeoutMsintThe connection addition timeout.
Returns
- bool
trueif the operation succeeded within the specified timeout; otherwise,false.
Remarks
In case the connection 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.2 (RN 8438).
AddConnection(ConnectivityInterface, string, bool, out int, out int)
Adds a connection between this interface and the specified destination interface.
public bool AddConnection(ConnectivityInterface destItf, string filter, bool addBothCOnnections, out int sourcePK, out int destPK)
Parameters
destItfConnectivityInterfaceThe destination interface.
filterstringThe connection filter.
addBothCOnnectionsbooltrueif the connection entry should be added to both ends of the connection; otherwise,false.sourcePKintThe ID (primary key) of the connection added to the source.
destPKintThe ID (primary key) of the connection added to the destination.
Returns
- bool
trueif the operation succeeded; otherwise,false.
Remarks
Feature introduced in DataMiner 8.5.2 (RN 8438).
AddConnection(string, int, bool, out int, out int)
Adds a connection between this interface and the specified destination interface.
public bool AddConnection(string destElementKey, int destItf, bool addBothConnections, out int sourcePK, out int destPK)
Parameters
destElementKeystringThe element key ("DataMiner Agent ID/element ID") of the destination element.
destItfintThe ID of the destination interface.
addBothConnectionsbooltrueif the connection entry should be added to both ends of the connection; otherwise,false.sourcePKintThe ID (primary key) of the connection added to the source.
destPKintThe ID (primary key) of the connection added to the destination.
Returns
- bool
trueif the operation succeeded; otherwise,false.
AddConnection(string, string, string, int, bool)
Adds a connection between this interface and the specified destination interface.
public bool AddConnection(string sourceName, string destName, string destElementKey, int destItf, bool addBothConnections)
Parameters
sourceNamestringThe name to apply to this connection on the source.
destNamestringThe name to apply to this connection on the destination.
destElementKeystringThe element key ("DataMiner Agent ID/element ID") of the destination element.
destItfintThe ID of the destination interface.
addBothConnectionsbooltrueif the connection entry should be added to both ends of the connection; otherwise,false.
Returns
- bool
trueif the operation succeeded; otherwise,false.
AddConnection(ConnectivityInterface, string, bool, out ConnectivityConnection, out ConnectivityConnection, int)
Adds a connection between this interface and the specified destination interface.
public bool AddConnection(ConnectivityInterface destItf, string filter, bool addBothCOnnections, out ConnectivityConnection sourceConn, out ConnectivityConnection destConn, int timeoutMs)
Parameters
destItfConnectivityInterfaceThe destination interface.
filterstringThe connection filter.
addBothCOnnectionsbooltrueif the connection entry should be added to both ends of the connection; otherwise,false.sourceConnConnectivityConnectionThe connection added to the source.
destConnConnectivityConnectionThe connection added to the destination.
timeoutMsintThe connection addition timeout.
Returns
- bool
trueif the operation succeeded within the specified timeout; otherwise,false.
Remarks
In case the connection 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.2 (RN 8438).
AddConnection(string, string, string, int, string, bool)
Adds a connection between this interface and the specified destination interface.
public bool AddConnection(string sourceName, string destName, string destElementKey, int destItf, string filter, bool AddBothConnections)
Parameters
sourceNamestringThe name to apply to this connection on the source.
destNamestringThe name to apply to this connection on the destination.
destElementKeystringThe element key ("DataMiner Agent ID/element ID") of the destination element.
destItfintThe ID of the destination interface.
filterstringThe connection filter.
AddBothConnectionsbooltrueif the connection entry should be added to both ends of the connection; otherwise,false.
Returns
- bool
trueif the operation succeeded; otherwise,false.
AddConnection(string, string, ConnectivityInterface, bool, out int, out int)
Adds a connection between this interface and the specified destination interface.
public bool AddConnection(string sourceName, string destName, ConnectivityInterface destItf, bool addBothConnections, out int sourcePK, out int destPK)
Parameters
sourceNamestringThe name to apply to this connection on the source.
destNamestringThe name to apply to this connection on the destination.
destItfConnectivityInterfaceThe destination interface.
addBothConnectionsbooltrueif the connection entry should be added to both ends of the connection; otherwise,false.sourcePKintThe ID (primary key) of the connection added to the source.
destPKintThe ID (primary key) of the connection added to the destination.
Returns
- bool
trueif the operation succeeded; otherwise,false.
Remarks
Feature introduced in DataMiner 8.5.2 (RN 8438).
AddConnection(string, int, bool, out ConnectivityConnection, out ConnectivityConnection, int)
Adds a connection between this interface and the specified destination interface.
public bool AddConnection(string destElementKey, int destItf, bool addBothConnections, out ConnectivityConnection sourceConn, out ConnectivityConnection destConn, int timeoutMs)
Parameters
destElementKeystringThe element key ("DataMiner Agent ID/element ID") of the destination element.
destItfintThe ID of the destination interface.
addBothConnectionsbooltrueif the connection entry should be added to both ends of the connection; otherwise,false.sourceConnConnectivityConnectionThe connection added to the source.
destConnConnectivityConnectionThe connection added to the destination.
timeoutMsintThe connection addition timeout.
Returns
- bool
trueif the operation succeeded within the specified timeout; otherwise,false.
Remarks
In case the connection was not created within the specified timeout, false will be returned. However, the message will still be handled by DataMiner.
AddConnection(string, int, string, bool, out int, out int)
Adds a connection between this interface and the specified destination interface.
public bool AddConnection(string destElementKey, int destItf, string filter, bool addBothConnections, out int sourcePK, out int destPK)
Parameters
destElementKeystringThe element key ("DataMiner Agent ID/element ID") of the destination element.
destItfintThe ID of the destination interface.
filterstringThe connection filter.
addBothConnectionsbooltrueif the connection entry should be added to both ends of the connection; otherwise,false.sourcePKintThe ID (primary key) of the connection added to the source.
destPKintThe ID (primary key) of the connection added to the destination.
Returns
- bool
trueif the operation succeeded; otherwise,false.
AddConnection(string, int, string, bool, out ConnectivityConnection, out ConnectivityConnection, int)
Adds a connection between this interface and the specified destination interface.
public bool AddConnection(string destElementKey, int destItf, string filter, bool addBothConnections, out ConnectivityConnection sourceConn, out ConnectivityConnection destConn, int timeoutMs)
Parameters
destElementKeystringThe element key ("DataMiner Agent ID/element ID") of the destination element.
destItfintThe ID of the destination interface.
filterstringThe connection filter.
addBothConnectionsbooltrueif the connection entry should be added to both ends of the connection; otherwise,false.sourceConnConnectivityConnectionThe connection added to the source.
destConnConnectivityConnectionThe connection added to the destination.
timeoutMsintThe connection addition timeout.
Returns
- bool
trueif the operation succeeded within the specified timeout; otherwise,false.
Remarks
In case the connection was not created within the specified timeout, false will be returned. However, the message will still be handled by DataMiner.
AddConnection(string, string, ConnectivityInterface, string, bool, out int, out int)
Adds a connection between this interface and the specified destination interface.
public bool AddConnection(string sourceName, string destName, ConnectivityInterface destItf, string filter, bool addBothConnections, out int sourcePK, out int destPK)
Parameters
sourceNamestringThe name to apply to this connection on the source.
destNamestringThe name to apply to this connection on the destination.
destItfConnectivityInterfaceThe destination interface.
filterstringThe connection filter.
addBothConnectionsbooltrueif the connection entry should be added to both ends of the connection; otherwise,false.sourcePKintThe ID (primary key) of the connections table entry at the source.
destPKintThe ID (primary key) of the connections table entry at the destination.
Returns
- bool
trueif the operation succeeded; otherwise,false.
Remarks
Feature introduced in DataMiner 8.5.2 (RN 8438).
AddConnection(string, string, ConnectivityInterface, bool, out ConnectivityConnection, out ConnectivityConnection, int)
Adds a connection between this interface and the specified destination interface.
public bool AddConnection(string sourceName, string destName, ConnectivityInterface destItf, bool AddBothConnections, out ConnectivityConnection sourceConn, out ConnectivityConnection destConn, int timeoutMs)
Parameters
sourceNamestringThe name to apply to this connection on the source.
destNamestringThe name to apply to this connection on the destination.
destItfConnectivityInterfaceThe destination interface.
AddBothConnectionsbooltrueif the connection entry should be added to both ends of the connection; otherwise,false.sourceConnConnectivityConnectionThe connection added to the source.
destConnConnectivityConnectionThe connection added to the destination.
timeoutMsintThe connection addition timeout.
Returns
- bool
trueif the operation succeeded within the specified timeout; otherwise,false.
Remarks
In case the connection 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.2 (RN 8438).
AddConnection(string, string, string, int, bool, out int, out int)
Adds a connection between this interface and the specified destination interface.
public bool AddConnection(string sourceName, string destName, string destElementKey, int destItf, bool addBothConnections, out int sourcePK, out int destPK)
Parameters
sourceNamestringThe name to apply to this connection on the source.
destNamestringThe name to apply to this connection on the destination.
destElementKeystringThe element key ("DataMiner Agent ID/element ID") of the destination element.
destItfintThe ID of the destination interface.
addBothConnectionsbooltrueif the connection entry should be added to both ends of the connection; otherwise,false.sourcePKintThe ID (primary key) of the connection added to the source.
destPKintThe ID (primary key) of the connection added to the destination.
Returns
- bool
trueif the operation succeeded; otherwise,false.
AddConnection(string, string, string, int, bool, out ConnectivityConnection, out ConnectivityConnection, int)
Adds a connection between this interface and the specified destination interface.
public bool AddConnection(string sourceName, string destName, string destElementKey, int destItf, bool addBothConnections, out ConnectivityConnection sourceConn, out ConnectivityConnection destConn, int timeoutMs)
Parameters
sourceNamestringThe name to apply to this connection on the source.
destNamestringThe name to apply to this connection on the destination.
destElementKeystringThe element key ("DataMiner Agent ID/element ID") of the destination element.
destItfintThe ID of the destination interface.
addBothConnectionsbooltrueif the connection entry should be added to both ends of the connection; otherwise,false.sourceConnConnectivityConnectionThe connection added to the source.
destConnConnectivityConnectionThe connection added to the destination.
timeoutMsintThe connection addition timeout.
Returns
- bool
trueif the operation succeeded within the specified timeout; otherwise,false.
Remarks
In case the connection was not created within the specified timeout, false will be returned. However, the message will still be handled by DataMiner.
AddConnection(string, string, ConnectivityInterface, string, bool, out ConnectivityConnection, out ConnectivityConnection, int)
Adds a connection between this interface and the specified destination interface.
public bool AddConnection(string sourceName, string destName, ConnectivityInterface destItf, string filter, bool addBothConnections, out ConnectivityConnection sourceConn, out ConnectivityConnection destConn, int timeoutMs)
Parameters
sourceNamestringThe name to apply to this connection on the source.
destNamestringThe name to apply to this connection on the destination.
destItfConnectivityInterfaceThe destination interface.
filterstringThe connection filter.
addBothConnectionsbooltrueif the connection entry should be added to both ends of the connection; otherwise,false.sourceConnConnectivityConnectionThe connection added to the source.
destConnConnectivityConnectionThe connection added to the destination.
timeoutMsintThe connection addition timeout.
Returns
- bool
trueif the operation succeeded within the specified timeout; otherwise,false.
Remarks
In case the connection 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.2 (RN 8438).
AddConnection(string, string, string, int, string, bool, out int, out int)
Adds a connection between this interface and the specified destination interface.
public bool AddConnection(string sourceName, string destName, string destElementKey, int destItf, string filter, bool AddBothConnections, out int sourcePK, out int destPK)
Parameters
sourceNamestringThe name to apply to this connection on the source.
destNamestringThe name to apply to this connection on the destination.
destElementKeystringThe element key ("DataMiner Agent ID/element ID") of the destination element.
destItfintThe ID of the destination interface.
filterstringThe connection filter.
AddBothConnectionsbooltrueif the connection entry should be added to both ends of the connection; otherwise,false.sourcePKintThe ID (primary key) of the connection added to the source.
destPKintThe ID (primary key) of the connection added to the destination.
Returns
- bool
trueif the operation succeeded; otherwise,false.
AddConnection(string, string, string, int, string, bool, out ConnectivityConnection, out ConnectivityConnection, int)
Adds a connection between this interface and the specified destination interface.
public bool AddConnection(string sourceName, string destName, string destElementKey, int destItf, string filter, bool AddBothConnections, out ConnectivityConnection sourceConn, out ConnectivityConnection destConn, int timeoutMs)
Parameters
sourceNamestringThe name to apply to this connection on the source.
destNamestringThe name to apply to this connection on the destination.
destElementKeystringThe element key ("DataMiner Agent ID/element ID") of the destination element.
destItfintThe ID of the destination interface.
filterstringThe connection filter.
AddBothConnectionsbooltrueif the connection entry should be added to both ends of the connection; otherwise,false.sourceConnConnectivityConnectionThe connection added to the source.
destConnConnectivityConnectionThe connection added to the destination.
timeoutMsintThe connection addition timeout.
Returns
- bool
trueif the operation succeeded within the specified timeout; otherwise,false.
Remarks
In case the connection was not created within the specified timeout, false will be returned. However, the message will still be handled by DataMiner.