GetConnectionState 메서드
Gets the current state of the connection to the Analysis Services server.
네임스페이스: Microsoft.AnalysisServices
어셈블리: Microsoft.AnalysisServices(Microsoft.AnalysisServices.dll)
구문
‘선언
Public Function GetConnectionState ( _
pingServer As Boolean _
) As ConnectionState
‘사용 방법
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
매개 변수
- pingServer
유형: System. . :: . .Boolean
Indicates whether an empty statement will be sent to the server to verify whether the connection is open.
반환 값
유형: System.Data. . :: . .ConnectionState
A ConnectionState enumeration describing the current state of the connection.