Table of Contents

Method DeleteConnection

Namespace
Skyline.DataMiner.Scripting
Assembly
SLManagedScripting.dll

DeleteConnection(string, bool)

Deletes the connection with the specified name.

public bool DeleteConnection(string connectionName, bool deleteBothConnections)

Parameters

connectionName string

The name of the connection to delete.

deleteBothConnections bool

true if the connection entry should be removed from both ends of the connection; otherwise, false.

Returns

bool

true if the deletion succeeded; otherwise, false.

DeleteConnection(int, bool)

Deletes the connection with the specified ID.

public bool DeleteConnection(int connectionId, bool deleteBothConnections)

Parameters

connectionId int

The ID of the connection to delete.

deleteBothConnections bool

true if the connection entry should be removed from both ends of the connection; otherwise, false.

Returns

bool

true if the deletion succeeded; otherwise, false.