AdsServer.Disconnect Method

Disconnects this ADS server from the local ADS router.

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

Syntax

C#

public virtual bool Disconnect()

Return Value

Type: 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