共用方式為


State 屬性

Gets the current state of the AdomdConnection.

命名空間:  Microsoft.AnalysisServices.AdomdClient
組件:  Microsoft.AnalysisServices.AdomdClient (在 Microsoft.AnalysisServices.AdomdClient.dll 中)

語法

'宣告
<BrowsableAttribute(False)> _
Public ReadOnly Property State As ConnectionState
    Get
'用途
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

屬性值

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

實作

IDbConnection. . :: . .State