Partager via


Server.CancelSession Method (String, Boolean)

Cancels the specified session on the server.

Espace de noms: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in microsoft.analysisservices.dll)

Syntaxe

'Déclaration
Public Sub CancelSession ( _
    sessionId As String, _
    cancelAssociated As Boolean _
)
public void CancelSession (
    string sessionId,
    bool cancelAssociated
)
public:
void CancelSession (
    String^ sessionId, 
    bool cancelAssociated
)
public void CancelSession (
    String sessionId, 
    boolean cancelAssociated
)
public function CancelSession (
    sessionId : String, 
    cancelAssociated : boolean
)

Paramètres

  • sessionId
    The session to cancel.
  • cancelAssociated
    Indicates whether the associated sessions will be canceled.

Sécurité des threads

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

Server Class
Server Members
Microsoft.AnalysisServices Namespace