Server.CancelCommand 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
CancelCommand() |
Cancels the command executing on the current connection and session (a new temporary connection is used). |
CancelCommand(String) |
Cancels the command executing in the specified session (a new temporary connection is used). |
CancelCommand()
Cancels the command executing on the current connection and session (a new temporary connection is used).
public void CancelCommand ();
member this.CancelCommand : unit -> unit
Public Sub CancelCommand ()
Applies to
CancelCommand(String)
Cancels the command executing in the specified session (a new temporary connection is used).
public void CancelCommand (string sessionId);
member this.CancelCommand : string -> unit
Public Sub CancelCommand (sessionId As String)
Parameters
- sessionId
- String
The session identifier.