SqlDataReader.IsCommandBehavior(CommandBehavior) Método

Definição

Determina se o especificado CommandBehavior corresponde ao do 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

Uma CommandBehavior enumeração.

Devoluções

true se o especificado CommandBehavior for verdadeiro, false caso contrário.

Observações

Este membro suporta a infraestrutura do .NET Framework e não é destinado a ser usado diretamente a partir do seu código.

Aplica-se a

Ver também