ISession.Connection Property

Gets the Connection object.

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

Syntax

C#

IConnection? Connection { get; }

Property Value

Type: IConnection
The connection.

Remarks

The IConnection object is established by the ISession via Connect. and is valid until the Disconnect. method or the Dispose method is called. Any possible resurrections after communication losses will be done transparently under the hood of the IConnection so that the IConnection instance and ISession instance.

Reference

ISession Interface

TwinCAT Namespace