Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » SQL Anywhere Server - Programming » SQL Anywhere .NET 2.0 API Reference » SACommand class

BeginExecuteReader(AsyncCallback, Object, CommandBehavior) method Next Page

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