Cancel method

Cancels the execution of an SACommand object.

Syntax
Visual Basic

Public Overrides Sub Cancel()
C#

public override void Cancel();
Remarks

If there is nothing to cancel, nothing happens. If there is a command in process and the attempt to cancel fails, not exception is generated.

See also