مشاركة عبر


Server.CancelSession Method (String, Boolean)

Cancels the specified session on the server.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public Sub CancelSession ( _
    sessionId As String, _
    cancelAssociated As Boolean _
)
'Usage
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
)

Parameters

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

See Also

Reference

Server Class

CancelSession Overload

Microsoft.AnalysisServices Namespace