Share via


SqlDataReader.IsCommandBehavior(CommandBehavior) Método

Definición

Determina si el valor de CommandBehavior especificado coincide con el de 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

Parámetros

condition
CommandBehavior

Enumeración CommandBehavior.

Devoluciones

Es true si el objeto CommandBehavior especificado es true; en caso contrario, es false.

Comentarios

Este miembro admite la infraestructura de .NET Framework y no está prevista su utilización directa desde el código.

Se aplica a

Consulte también