Table of Contents

Method Update

Namespace
Skyline.DataMiner.Scripting
Assembly
SLManagedScripting.dll

Update(string, int, string, int, int, int, bool)

Updates this connection.

public bool Update(string newSourceName, int newSourceInterfaceId, string newDestinationName, int newDestinationDMAId, int newDestinationElementId, int newDestinationInterfaceId, bool updateBothConnections)

Parameters

newSourceName string

The new name to apply to this connection on the source.

newSourceInterfaceId int

The ID of the new source interface.

newDestinationName string

The new name to apply to this connection on the destination.

newDestinationDMAId int

The DataMiner Agent ID of the destination element.

newDestinationElementId int

The element ID of the destination element.

newDestinationInterfaceId int

The ID of the destination interface.

updateBothConnections bool

true if the connection filter should be updated at both ends of the connection; otherwise, false.

Returns

bool

true if the update succeeded; otherwise, false.

Update(string, int, string, int, int, int, string, bool)

Updates this connection.

public bool Update(string newSourceName, int newSourceInterfaceId, string newDestinationName, int newDestinationDMAId, int newDestinationElementId, int newDestinationInterfaceId, string newFilter, bool updateBothConnections)

Parameters

newSourceName string

The new name to apply to this connection on the source.

newSourceInterfaceId int

The ID of the new source interface.

newDestinationName string

The new name to apply to this connection on the destination.

newDestinationDMAId int

The DataMiner Agent ID of the destination element.

newDestinationElementId int

The element ID of the destination element.

newDestinationInterfaceId int

The ID of the destination interface.

newFilter string

The new connection filter.

updateBothConnections bool

true if the connection filter should be updated at both ends of the connection; otherwise, false.

Returns

bool

true if the update succeeded; otherwise, false.

Update(string, int, string, int, int, int, string, bool, out int)

Updates this connection.

public bool Update(string newSourceName, int newSourceInterfaceId, string newDestinationName, int newDestinationDMAId, int newDestinationElementId, int newDestinationInterfaceId, string newFilter, bool updateBothConnections, out int destPK)

Parameters

newSourceName string

The new name to apply to this connection on the source.

newSourceInterfaceId int

The ID of the new source interface.

newDestinationName string

The new name to apply to this connection on the destination.

newDestinationDMAId int

The DataMiner Agent ID of the destination element.

newDestinationElementId int

The element ID of the destination element.

newDestinationInterfaceId int

The ID of the destination interface.

newFilter string

The new connection filter.

updateBothConnections bool

true if the connection filter should be updated at both ends of the connection; otherwise, false.

destPK int

The ID (primary key) of the destination interface.

Returns

bool

true if the update succeeded; otherwise, false.

Remarks

Feature introduced in DataMiner 8.5.3 (RN 9297).

Update(string, int, string, int, int, int, string, bool, out ConnectivityConnection, int)

Updates this connection.

public bool Update(string newSourceName, int newSourceInterfaceId, string newDestinationName, int newDestinationDMAId, int newDestinationElementId, int newDestinationInterfaceId, string newFilter, bool updateBothConnections, out ConnectivityConnection destConn, int timeoutMs)

Parameters

newSourceName string

The new name to apply to this connection on the source.

newSourceInterfaceId int

The ID of the new source interface.

newDestinationName string

The new name to apply to this connection on the destination.

newDestinationDMAId int

The DataMiner Agent ID of the destination element.

newDestinationElementId int

The element ID of the destination element.

newDestinationInterfaceId int

The ID of the destination interface.

newFilter string

The new connection filter.

updateBothConnections bool

true if the connection filter should be updated at both ends of the connection; otherwise, false.

destConn ConnectivityConnection

The connection on the destination.

timeoutMs int

The update timeout.

Returns

bool

true if the update succeeded within the specified timeout; otherwise, false.

Remarks

In case the connection was not updated 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 9297).