AdsConnection.Disconnect Method

Disconnects this IConnection.

Namespace:  TwinCAT.Ads
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 6.0.328+39e3229

Syntax

C#

public bool Disconnect()

Return Value

Type: Boolean
true if the AdsConnection is disconnected, false if the connection was already disconnected.

Implements

IConnection.Disconnect.

Exceptions

Exception

Condition

ObjectDisposedException

Reference

AdsConnection Class

TwinCAT.Ads Namespace