Infosys在阅读器中打开 / AI 翻译

ADS · 0 次阅读

Session.Disconnect Method

Disconnects the session from the target.

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

Syntax

C#

public bool Disconnect()

VB

Public Function Disconnect As Boolean

Return Value

Type: Boolean
true if XXXX, false otherwise.

Exceptions

Exception

Condition

ObjectDisposedException

Remarks

Closes (and disposes) the underlying IConnection The Session itself will not be Disposed and can be reconnected.