Share via


Server.CancelSession Method (String)

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 _
)
'Usage
Dim instance As Server 
Dim sessionId As String

instance.CancelSession(sessionId)
public void CancelSession(
    string sessionId
)
public:
void CancelSession(
    String^ sessionId
)
member CancelSession : 
        sessionId:string -> unit
public function CancelSession(
    sessionId : String
)

Parameters

See Also

Reference

Server Class

CancelSession Overload

Microsoft.AnalysisServices Namespace