SqlBatchCommandCollection.Add Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Add(SqlBatchCommand) |
Add a SqlBatchCommand to the end of the SqlBatchCommandCollection. |
Add(DbBatchCommand) |
Adds the specified DbBatchCommand object to the ICollection<T>. |
Add(SqlBatchCommand)
Add a SqlBatchCommand to the end of the 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)
Parameters
- item
- SqlBatchCommand
Implements
Applies to
Add(DbBatchCommand)
Adds the specified DbBatchCommand object to the 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)
Parameters
- item
- DbBatchCommand
The object to add to the ICollection<T>.