Oharra
Baimena behar duzu orria atzitzeko. Direktorioetan saioa has dezakezu edo haiek alda ditzakezu.
Baimena behar duzu orria atzitzeko. Direktorioak alda ditzakezu.
Gets the current state of the connection to the Analysis Services server.
Espacio de nombres: Microsoft.AnalysisServices
Ensamblado: Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Sintaxis
'Declaración
Public Function GetConnectionState ( _
pingServer As Boolean _
) As ConnectionState
'Uso
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
Parámetros
- pingServer
Tipo: System.Boolean
true to indicate that an empty statement will be sent to the server to verify whether the connection is open; otherwise, false.
Valor devuelto
Tipo: System.Data.ConnectionState
A ConnectionState enumeration describing the current state of the connection.