Server.CancelSession Method (String, Boolean)

Cancels the specified session on the server.

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

Syntax

VB
'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)

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