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

VB
'Declaration
Public Sub CancelConnection ( _
    connectionId As Integer, _
    cancelAssociated As Boolean _
)
'Usage
Dim instance As Server 
Dim connectionId As Integer 
Dim cancelAssociated As Boolean

instance.CancelConnection(connectionId, _
    cancelAssociated)

Parameters

  • connectionId
    Type: System.Int32
    The connection identifier to cancel.
  • cancelAssociated
    Type: System.Boolean
    true to indicate that the associated connections will be canceled; otherwise, false.

See Also

Reference

Server Class

CancelConnection Overload

Microsoft.AnalysisServices Namespace