Session.Connection Property

Gets the (established) connection.

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

Syntax

C#

public IConnection Connection { get; }

VB

Public ReadOnly Property Connection As IConnection
    Get

Property Value

Type: IConnection
The IConnection if connection established, or null if not connected.

Implements

ISession.Connection

Reference

Session Class

TwinCAT Namespace