AdsConnectionDisconnect Method

Disconnects this IConnection.


Namespace: TwinCAT.Ads
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470

Syntax

C#

public bool Disconnect()

Return Value

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

Implements

IConnectionDisconnect

Exceptions

Exception

Condition

ObjectDisposedException

Reference

AdsConnection Class TwinCAT.Ads Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026