Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.