Поделиться через


Свойство 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