AdsSessionBase.OnDisconnect Method

Handler function disconnecting the session.

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

Syntax

C#

protected override bool OnDisconnect()

Return Value

Type: Boolean
true if the Session is disconnected, false if the Session was disconnected before.

Reference

AdsSessionBase Class

TwinCAT.Ads Namespace