Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

IDbCommand.Cancel Method

Attempts to cancels the execution of an IDbCommand.

[Visual Basic]
Sub Cancel()
[C#]
void Cancel();
[C++]
void Cancel();
[JScript]
function Cancel();

Remarks

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.

Requirements

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

See Also

IDbCommand Interface | IDbCommand Members | System.Data Namespace

Show:
© 2015 Microsoft