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
一個 CommandBehavior 列舉。
傳回
true 若指定為 CommandBehavior 真, false 否則。
備註
此成員支援 .NET Framework 基礎架構,並非直接從您的程式碼中使用。