SqlDataReader.IsCommandBehavior(CommandBehavior) Méthode

Définition

Détermine si le CommandBehavior spécifié correspond à celui du SqlDataReader.

protected public:
 bool IsCommandBehavior(System::Data::CommandBehavior condition);
protected:
 bool IsCommandBehavior(System::Data::CommandBehavior condition);
protected internal bool IsCommandBehavior (System.Data.CommandBehavior condition);
protected bool IsCommandBehavior (System.Data.CommandBehavior condition);
member this.IsCommandBehavior : System.Data.CommandBehavior -> bool
Protected Friend Function IsCommandBehavior (condition As CommandBehavior) As Boolean
Protected Function IsCommandBehavior (condition As CommandBehavior) As Boolean

Paramètres

condition
CommandBehavior

Énumération CommandBehavior.

Retours

true si le CommandBehavior a la valeur true ; sinon, false.

Remarques

Ce membre prend en charge l'infrastructure .NET Framework et n'est pas destiné à être utilisé directement à partir de votre code.

S’applique à

Voir aussi