ISession.Disconnect Method

Disconnects the ISession


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

Syntax

C#

bool Disconnect()

Return Value

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

Remarks

Disposes also the IConnection.

See Also

Reference

ISession Interface TwinCAT Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026