Server.CancelConnection Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CancelConnection(Int32) |
Cancels the specified connection (a new temporary connection is used). |
CancelConnection(Int32, Boolean) |
Cancels the specified connection (a new temporary connection is used). |
CancelConnection(Int32)
Cancels the specified connection (a new temporary connection is used).
public void CancelConnection (int connectionId);
member this.CancelConnection : int -> unit
Public Sub CancelConnection (connectionId As Integer)
Parameters
- connectionId
- Int32
The connection identifier to cancel.
Applies to
CancelConnection(Int32, Boolean)
Cancels the specified connection (a new temporary connection is used).
public void CancelConnection (int connectionId, bool cancelAssociated);
member this.CancelConnection : int * bool -> unit
Public Sub CancelConnection (connectionId As Integer, cancelAssociated As Boolean)
Parameters
- connectionId
- Int32
The connection identifier to cancel.
- cancelAssociated
- Boolean
true to indicate that the associated connections will be canceled; otherwise, false.