AdsServerDisconnect Method

Disconnects this ADS server from the local ADS router.


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

Syntax

C#

public virtual bool Disconnect()

Return Value

Boolean
true if disconnected, false if the AdsServer was diconnected before.

Exceptions

Exception

Condition

AdsServerException

Thrown if the disconnect call fails.

Reference

AdsServer Class TwinCAT.Ads.Server Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026