Share via


SqlBatchCommand クラス

定義

SqlBatchCommand を使用すると、SqlBatch で複数の SQL コマンドを実行できます。

public ref class SqlBatchCommand
public ref class SqlBatchCommand : System::Data::Common::DbBatchCommand
public class SqlBatchCommand
public class SqlBatchCommand : System.Data.Common.DbBatchCommand
type SqlBatchCommand = class
type SqlBatchCommand = class
    inherit DbBatchCommand
Public Class SqlBatchCommand
Public Class SqlBatchCommand
Inherits DbBatchCommand
継承
SqlBatchCommand
継承
SqlBatchCommand

コンストラクター

SqlBatchCommand()

新しい SqlBatchCommand を初期化します。

SqlBatchCommand(String, CommandType, IEnumerable<SqlParameter>, SqlCommandColumnEncryptionSetting)

新しい SqlBatchCommand を初期化します。

プロパティ

CanCreateParameter

メソッドが実装されているかどうかを CreateParameter() 返します。

ColumnEncryptionSetting

現在、実装されていません。 暗号化の設定。 詳細については、「 Always Encrypted」を参照してください。

CommandBehavior

ステートメントの実行とデータ取得に対するオプションを指定する CommandBehavior 値の 1 つ。

CommandText

データ ソースに対して実行するテキスト コマンドを取得または設定します。

CommandType

プロパティの解釈方法を CommandText 取得または設定します。

DbParameterCollection

SqlParameter オブジェクトのコレクションを取得します。

Parameters

SqlParameterCollection を取得します。

RecordsAffected

この特定 SqlBatchCommandの の実行によって変更、挿入、または削除された行の数を取得します。

メソッド

CreateParameter()

SqlParameter オブジェクトの新しいインスタンスを作成します。

適用対象