Returns the connection status of the Data Control.
Syntax
object.Connected [= Boolean]
Parameters
The Connected property syntax has these parts:
Part |
Description |
object |
An object expression that evaluates to an object in the Applies To list. |
Boolean |
Whether the data control is currently connected. |
Settings
The settings for Boolean are:
Value |
Description |
True |
Currently connected |
False |
Not connected. |
Remarks
Use this property to test the connection to the selected OLE DB data provider and database.