Share 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.

Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in microsoft.analysisservices.dll)

Syntax

'Declaration
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
)

Parameters

  • connectionId
    The connection identifier to cancel.
  • cancelAssociated
    Indicates whether the associated connections will be canceled.

Thread Safety

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

Server Class
Server Members
Microsoft.AnalysisServices Namespace