SqlDataReader.IsCommandBehavior(CommandBehavior) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
确定指定的 CommandBehavior 匹配项是否与 . 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
参数
- condition
- CommandBehavior
返回
true 如果指定 CommandBehavior 为 true,则为 true, false 否则为 true。
注解
此成员支持 .NET Framework 基础结构,不应直接从代码使用。