SqlDataReader.IsCommandBehavior(CommandBehavior) Método

Definição

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

Retornos

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

Comentários

Esse membro dá suporte à infraestrutura do .NET Framework e não se destina a ser usado diretamente do seu código.

Aplica-se a

Confira também