IConnection.IsConnected Property

Gets a value indicating whether the local ADS port was opened successfully. It does not indicate if the target port is available. Use the method ReadState to determine if the target port is available.

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

Syntax

C#

bool IsConnected { get; }

VB

ReadOnly Property IsConnected As Boolean
    Get

Property Value

Type: Boolean

Reference

IConnection Interface

TwinCAT Namespace