다음을 통해 공유


Server.CancelCommand Method

Definition

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.

Applies to