Server.GetConnectionState Method
Gets the current state of the connection to the Analysis Services server.
Espacio de nombres: Microsoft.AnalysisServices
Ensamblado: Microsoft.AnalysisServices (in microsoft.analysisservices.dll)
Sintaxis
'Declaración
Public Function GetConnectionState ( _
pingServer As Boolean _
) As ConnectionState
public ConnectionState GetConnectionState (
bool pingServer
)
public:
ConnectionState GetConnectionState (
bool pingServer
)
public ConnectionState GetConnectionState (
boolean pingServer
)
public function GetConnectionState (
pingServer : boolean
) : ConnectionState
Parámetros
- pingServer
Indicates whether an empty statement will be sent to the server to verify whether the connection is open.
Valor devuelto
A ConnectionState enumeration describing the current state of the connection.
Seguridad para subprocesos
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Plataformas
Plataformas de desarrollo
Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.
Plataformas de destino
Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.
Vea también
Referencia
Server Class
Server Members
Microsoft.AnalysisServices Namespace