Cancels the execution of an SACommand object.
Visual Basic
Public Overrides Sub Cancel()
C#
public override void Cancel();
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.