Share via


AdomdConnection.State Property

Gets the current state of the AdomdConnection.

Namespace:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Syntax

'Declaration
<BrowsableAttribute(False)> _
Public ReadOnly Property State As ConnectionState
    Get
'Usage
Dim instance As AdomdConnection
Dim value As ConnectionState

value = instance.State
[BrowsableAttribute(false)]
public ConnectionState State { get; }
[BrowsableAttribute(false)]
public:
virtual property ConnectionState State {
    ConnectionState get () sealed;
}
[<BrowsableAttribute(false)>]
abstract State : ConnectionState
[<BrowsableAttribute(false)>]
override State : ConnectionState
final function get State () : ConnectionState

Property Value

Type: System.Data.ConnectionState
A System.Data.ConnectionState enumeration value that represents the current connection state of the AdomdConnection.

Implements

IDbConnection.State