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 命名空间