Server.CancelSession メソッド (Int32, Boolean)

サーバー上の指定したセッションを取り消します。

名前空間:  Microsoft.AnalysisServices
アセンブリ:  Microsoft.AnalysisServices (Microsoft.AnalysisServices.dll)

構文

'宣言
Public Sub CancelSession ( _
    sessionId As Integer, _
    cancelAssociated As Boolean _
)
'使用
Dim instance As Server 
Dim sessionId As Integer 
Dim cancelAssociated As Boolean

instance.CancelSession(sessionId, cancelAssociated)
public void CancelSession(
    int sessionId,
    bool cancelAssociated
)
public:
void CancelSession(
    int sessionId, 
    bool cancelAssociated
)
member CancelSession : 
        sessionId:int * 
        cancelAssociated:bool -> unit
public function CancelSession(
    sessionId : int, 
    cancelAssociated : boolean
)

パラメーター

  • sessionId
    型: System.Int32
    取り消すセッションです。
  • cancelAssociated
    型: System.Boolean
    関連付けられているセッションを取り消すことを指定する場合は true、それ以外の場合は false。

関連項目

参照

Server クラス

CancelSession オーバーロード

Microsoft.AnalysisServices 名前空間