MySqlCommand.Cancel Method

MySQL Connector/Net

MySqlCommandCancel Method
Attempts to cancel the execution of a currently active command

Namespace: MySql.Data.MySqlClient
Assembly: MySql.Data (in MySql.Data.dll) Version: 6.9.9
Syntax
public override void Cancel()
Public Overrides Sub Cancel
public:
virtual void Cancel() override
abstract Cancel : unit -> unit 
override Cancel : unit -> unit 

Implements

IDbCommandCancel
Remarks
Cancelling a currently active query only works with MySQL versions 5.0.0 and higher.
See Also