Server.CancelSession 方法 (String, Boolean)

Cancels the specified session on the server.

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

語法

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

instance.CancelSession(sessionId, cancelAssociated)

參數

  • cancelAssociated
    型別:System.Boolean
    true to indicate that the associated sessions will be canceled; otherwise, false.

請參閱

參考

Server 類別

CancelSession 多載

Microsoft.AnalysisServices 命名空間