ISession.Disconnect Method

Disconnects the ISession

Namespace:  TwinCAT
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 4.3.0.0

Syntax

C#

bool Disconnect()

VB

Function Disconnect As Boolean

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