AutoConnect Property

Specifies whether to automatically connect to the selected OLE DB data provider when iFIX or CIMPLICITY enters the run-time environment.

Syntax

object.AutoConnect [= Boolean]

Parameters

The AutoConnect property syntax has these parts:

Part

Description

object

An object expression that evaluates to an object in the Applies To list.

Boolean

Whether to automatically connect to the OLE DB data provider in the run-time environment.

Settings

The settings for Boolean are:

Value

Description

True

Automatically connects to the selected OLE DB data provider in the run-time environment. (Default)

False

Must manually connect to the selected OLE DB data provider using the DBConnect method.

Remarks

This property can only be set in Configure mode. It is read-only in Run mode.

See Also