Partager via


Méthode CancelSession (Int32, Boolean)

Cancels the specified session on the server.

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Syntaxe

'Déclaration
Public Sub CancelSession ( _
    sessionId As Integer, _
    cancelAssociated As Boolean _
)
'Utilisation
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
)

Paramètres