SqlDataReader.IsCommandBehavior(CommandBehavior) Metoda

Definice

Určuje, zda zadané CommandBehavior odpovídá zadané hodnotě SqlDataReader .

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

Parametry

condition
CommandBehavior

Výčet CommandBehavior .

Návraty

true pokud je zadaná CommandBehavior hodnota true, false jinak.

Poznámky

Tento člen podporuje infrastrukturu rozhraní .NET Framework a není určen k použití přímo z vašeho kódu.

Platí pro

Viz také