Disconnects the Session.

Namespace: ININ.IceLib.Connection
Assembly: ININ.IceLib (in ININ.IceLib.dll) Version: 0.0.0.0 (21.4.0.172)

Syntax

C#
public void Disconnect(
	bool persistStationLogin
)
Visual Basic
Public Sub Disconnect ( _
	persistStationLogin As Boolean _
)

Parameters

persistStationLogin
Type: System..::..Boolean
trueTruetruetrue (True in Visual Basic) if the station login is persisted; otherwise, falseFalsefalsefalse (False in Visual Basic).

Exceptions

ExceptionCondition
System..::..ObjectDisposedExceptionThe Session has been disposed.
ININ.IceLib..::..IceLibExceptionThe connection could not be disconnected.

Version Information

Supported for IC Server version 2015 R1 and beyond.
For 4.0, supported for IC Server version 4.0 SU 5 and beyond.
For 3.0, supported for IC Server version 3.0 SU 19 and beyond.

See Also