TcAdsClient.Disconnect Method

Disconnects the TcAdsClient

Namespace:  TwinCAT.Ads
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 4.3.0.0

Syntax

C#

public bool Disconnect()

VB

Public Function Disconnect As Boolean

Return Value

Type: Boolean
true if successfully disconnected, false if the TcAdsClient was already disconnected.

Implements

IConnection.Disconnect.

Remarks

The TcAdsClient can be connected again afterwards. Disconnection doesn't mean disposing / closing:

Reference

TcAdsClient Class

TwinCAT.Ads Namespace