Partager via


Propriété State

Gets the current state of the AdomdConnection.

Espace de noms :  Microsoft.AnalysisServices.AdomdClient
Assembly :  Microsoft.AnalysisServices.AdomdClient (en Microsoft.AnalysisServices.AdomdClient.dll)

Syntaxe

'Déclaration
<BrowsableAttribute(False)> _
Public ReadOnly Property State As ConnectionState
    Get
'Utilisation
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

Valeur de propriété

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

Implémente

IDbConnection. . :: . .State