Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Gets the current state of the connection to the Analysis Services server.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Function GetConnectionState ( _
pingServer As Boolean _
) As ConnectionState
'Usage
Dim instance As Server
Dim pingServer As Boolean
Dim returnValue As ConnectionState
returnValue = instance.GetConnectionState(pingServer)
public ConnectionState GetConnectionState(
bool pingServer
)
public:
ConnectionState GetConnectionState(
bool pingServer
)
member GetConnectionState :
pingServer:bool -> ConnectionState
public function GetConnectionState(
pingServer : boolean
) : ConnectionState
Parameter
- pingServer
Typ: System.Boolean
true to indicate that an empty statement will be sent to the server to verify whether the connection is open; otherwise, false.
Rückgabewert
Typ: System.Data.ConnectionState
A ConnectionState enumeration describing the current state of the connection.