AutoConnect Property

Measurement Studio User Interface

AutoConnect Property

Syntax

CWBinding.AutoConnect

Data Type

Boolean

Purpose

Specifies if the binding automatically connects to the source as soon as the program is run.

Remarks

Set the URL, Connection mode, and Auto Connect properties in the property pages at design time to automatically connect the CWBinding when the program is run or the Web page is loaded. You do not have to call the Connect or ConnectTo methods.

Like the Connect and ConnectTo methods, this property causes the control to generate the CWBindingStatusUpdated event when the connection is made and the CWBindingDataUpdated event when data is updated.

See Also

AccessMode

Connect

ConnectTo

URL

CWBindingDataUpdated

CWBindingStatusUpdated