Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Cancels the specified session on the server.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Sub CancelSession ( _
sessionId As Integer, _
cancelAssociated As Boolean _
)
'Usage
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
)
Parameters
- sessionId
Type: System.Int32
The session to cancel.
- cancelAssociated
Type: System.Boolean
true to indicate that the associated sessions will be canceled; otherwise, false.