ISession.Connection Property

Gets the Connection object.

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

Syntax

C#

IConnection Connection { get; }

VB

ReadOnly Property Connection As IConnection
    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