次の方法で共有


SqlBatchCommandCollection.Add メソッド

定義

オーバーロード

Add(SqlBatchCommand)

SqlBatchCommand 末尾に を追加します SqlBatchCommandCollection

Add(DbBatchCommand)

指定した DbBatchCommand オブジェクトを ICollection<T> に追加します。

Add(SqlBatchCommand)

SqlBatchCommand 末尾に を追加します SqlBatchCommandCollection

public:
 virtual void Add(Microsoft::Data::SqlClient::SqlBatchCommand ^ item);
public void Add (Microsoft.Data.SqlClient.SqlBatchCommand item);
override this.Add : Microsoft.Data.SqlClient.SqlBatchCommand -> unit
Public Sub Add (item As SqlBatchCommand)

パラメーター

実装

適用対象

Add(DbBatchCommand)

指定した DbBatchCommand オブジェクトを ICollection<T> に追加します。

public:
 override void Add(System::Data::Common::DbBatchCommand ^ item);
public override void Add (System.Data.Common.DbBatchCommand item);
override this.Add : System.Data.Common.DbBatchCommand -> unit
Public Overrides Sub Add (item As DbBatchCommand)

パラメーター

item
DbBatchCommand

ICollection<T> に追加するオブジェクト。

適用対象