Muokkaa

Jaa


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.

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.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.