Compartir a través de


Server.CancelConnection Método (Int32, Boolean)

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

Espacio de nombres:  Microsoft.AnalysisServices
Ensamblado:  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Sintaxis

'Declaración
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

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

Vea también

Referencia

Server Clase

Sobrecarga de CancelConnection

Espacio de nombres Microsoft.AnalysisServices