PivotCache.IsConnected Property

Definition

Returns True if the MaintainConnection property is True and the PivotTable cache is currently connected to its source. Returns False if it is not currently connected to its source.

public:
 property bool IsConnected { bool get(); };
public bool IsConnected { get; }
Public ReadOnly Property IsConnected As Boolean

Property Value

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.

Requires that the cache source type is external and that it is an OLE DB data source.

Applies to