SqlDataReader.IsCommandBehavior(CommandBehavior) Methode

Definition

Bestimmt, ob das angegebene CommandBehavior zu dem von SqlDataReader passt.

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

Parameter

condition
CommandBehavior

Eine CommandBehavior-Enumeration.

Gibt zurück

true, wenn das angegebene CommandBehavior auf true festgelegt ist, andernfalls false.

Hinweise

Dieser Member unterstützt die .NET Framework-Infrastruktur und ist nicht für die direkte Verwendung in Code vorgesehen.

Gilt für:

Weitere Informationen