Поделиться через


Метод Server.CancelConnection (Int32, Boolean)

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

Пространство имен:  Microsoft.AnalysisServices
Сборка:  Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)

Синтаксис

'Декларация
Public Sub CancelConnection ( _
    connectionId As Integer, _
    cancelAssociated As Boolean _
)
'Применение
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
)

Параметры

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

См. также

Справочник

Server Класс

Перегрузка CancelConnection

Пространство имен Microsoft.AnalysisServices