IDbCommand.Cancel Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Tente d'annuler l'exécution d'une activité IDbCommand.
public:
void Cancel();
public void Cancel();
abstract member Cancel : unit -> unit
Public Sub Cancel ()
Remarques
S’il n’y a rien à annuler, rien ne se produit. Cependant, si une commande est en cours et si la tentative d'annulation échoue, aucune exception n'est générée.