System.Data Namespace IDbCommand Class
Cancels the execution of an IDbCommand.
[ VB ]
NotOverridable Public Sub Cancel ( )
[ C# ]
public void Cancel ( );
[ C++ ]
public: __sealed void Cancel ( );
[ JScript ]
public 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.
IDbCommand Members