Server.CancelSession 方法 (String, Boolean)

Cancels the specified session on the server.

命名空间:  Microsoft.AnalysisServices
程序集:  Microsoft.AnalysisServices(在 Microsoft.AnalysisServices.dll 中)

语法

声明
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)
public void CancelSession(
    string sessionId,
    bool cancelAssociated
)
public:
void CancelSession(
    String^ sessionId, 
    bool cancelAssociated
)
member CancelSession : 
        sessionId:string * 
        cancelAssociated:bool -> unit
public function CancelSession(
    sessionId : String, 
    cancelAssociated : boolean
)

参数

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

请参阅

参考

Server 类

CancelSession 重载

Microsoft.AnalysisServices 命名空间