Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Gets the current state of the connection to the Analysis Services server.
Espace de noms : Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Syntaxe
'Déclaration
Public Function GetConnectionState ( _
pingServer As Boolean _
) As ConnectionState
'Utilisation
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
Paramètres
- pingServer
Type : System.Boolean
true to indicate that an empty statement will be sent to the server to verify whether the connection is open; otherwise, false.
Valeur de retour
Type : System.Data.ConnectionState
A ConnectionState enumeration describing the current state of the connection.