SqlDataReader.IsCommandBehavior(CommandBehavior) Metoda

Definice

Určuje, zda se zadaná hodnota CommandBehavior shoduje se zadaným parametrem 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

Parametry

condition
CommandBehavior

Výčet CommandBehavior .

Návraty

true pokud je zadaná CommandBehavior hodnota true, false v opačném případě.

Poznámky

Tento člen podporuje infrastrukturu rozhraní .NET Framework a není určen pro použití přímo v kódu.

Platí pro

Viz také