AdsConnection.Connect Method

(Re)Connects the IConnection when disconnected.

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

Syntax

C#

public bool Connect()

VB

Public Function Connect As Boolean

Return Value

Type: Boolean
true if the AdsConnection is reconnected, false otherwise.

Implements

IConnection.Connect.

Reference

AdsConnection Class

TwinCAT.Ads Namespace