OLEDBConnection.IsConnected Property (Excel)

Returns True if the MaintainConnection property is True. Returns False if it is not currently connected to its source. Read-only Boolean.

Version Information

Version Added: Excel 2007

Syntax

expression .IsConnected

expression A variable that represents an OLEDBConnection object.

Remarks

The IsConnected property does not check to see if the connection is connected. Even if this property returns True, sending commands to the provider could result in an error if the connection is no longer valid.

See Also

Concepts

OLEDBConnection Object

OLEDBConnection Object Members