ISessionConnection Property

Gets the Connection object.


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

Syntax

C#

IConnection? Connection { get; }

Property Value

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

Beckhoff Automation GmbH & Co. KG 2001-2026