共用方式為


CancelSession 方法 (String)

Cancels the specified session on the server.

命名空間:  Microsoft.AnalysisServices
組件:  Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)

語法

'宣告
Public Sub CancelSession ( _
    sessionId As String _
)
'用途
Dim instance As Server
Dim sessionId As String

instance.CancelSession(sessionId)
public void CancelSession(
    string sessionId
)
public:
void CancelSession(
    String^ sessionId
)
member CancelSession : 
        sessionId:string -> unit 
public function CancelSession(
    sessionId : String
)

參數