次の方法で共有


CommandBehavior 列挙体

クエリの結果と、それがデータベースに与える影響を記述します。

名前空間:  Microsoft.ReportingServices.DataProcessing
アセンブリ:   Microsoft.ReportingServices.Interfaces (Microsoft.ReportingServices.Interfaces.dll)
  Microsoft.ReportingServices.SharePoint.UI.WebParts (Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)

構文

'宣言
Public Enumeration CommandBehavior
'使用
Dim instance As CommandBehavior
public enum CommandBehavior
public enum class CommandBehavior
type CommandBehavior
public enum CommandBehavior

メンバー

メンバー名 説明
SchemaOnly クエリは列情報のみを返し、データベースの状態には影響を与えません。
SingleResult クエリは、単一の結果セットを返します。クエリの実行により、データベース状態に影響が及ぶことがあります。

説明

CommandBehavior 値は、IDbCommand クラスの ExecuteReader メソッドと、そこから派生した任意のクラスによって使用されます。

これらの値のビット演算の組み合わせを使用できます。