Cancel() method

Cancels the execution of an SACommand object.

Visual Basic syntax

Public Overrides Sub Cancel ()

C# syntax

public override void Cancel ()

Usage

If there is nothing to cancel, nothing happens. If there is a command in process, a "Statement interrupted by user" exception is thrown.