Partager via


Server.CancelConnection Method (Int32, Boolean)

Cancels the server connection specified by the connection ID, and indicates whether all other associated connections will be canceled.

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

Syntaxe

'Déclaration
Public Sub CancelConnection ( _
    connectionId As Integer, _
    cancelAssociated As Boolean _
)
public void CancelConnection (
    int connectionId,
    bool cancelAssociated
)
public:
void CancelConnection (
    int connectionId, 
    bool cancelAssociated
)
public void CancelConnection (
    int connectionId, 
    boolean cancelAssociated
)
public function CancelConnection (
    connectionId : int, 
    cancelAssociated : boolean
)

Paramètres

  • connectionId
    The connection identifier to cancel.
  • cancelAssociated
    Indicates whether the associated connections 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