Compartilhar via


Método CancelConnection (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 (em Microsoft.AnalysisServices.dll)

Sintaxe

'Declaração
Public Sub CancelConnection ( _
    connectionId As Integer, _
    cancelAssociated As Boolean _
)
'Uso
Dim instance As Server
Dim connectionId As Integer
Dim cancelAssociated As Boolean

instance.CancelConnection(connectionId, _
    cancelAssociated)
public void CancelConnection(
    int connectionId,
    bool cancelAssociated
)
public:
void CancelConnection(
    int connectionId, 
    bool cancelAssociated
)
member CancelConnection : 
        connectionId:int * 
        cancelAssociated:bool -> unit 
public function CancelConnection(
    connectionId : int, 
    cancelAssociated : boolean
)

Parâmetros