ISession.Disconnect Method

Disconnects the ISession

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

Syntax

C#

bool Disconnect()

Return Value

Type: Boolean
true if Session was disconnected, false if the session was already closed.

Remarks

Disposes also the IConnection.

Reference

ISession Interface

TwinCAT Namespace