Attempts to cancels the execution of an IDbCommand.
[Visual Basic] Sub Cancel() [C#] void Cancel(); [C++] void Cancel(); [JScript] function Cancel();
If there is nothing to cancel, nothing happens. However, if there is a command in process, and the attempt to cancel fails, no exception is generated.
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework