Edit

Share via


DbBatchCommandCollection.Remove(DbBatchCommand) Method

Definition

Removes the specified DbBatchCommand object from the collection.

public abstract bool Remove(System.Data.Common.DbBatchCommand item);

Parameters

item
DbBatchCommand

The object to remove from the ICollection<T>.

Returns

true if item was successfully removed; otherwise, false. This method also returns false if item was not found in the DbBatchCommandCollection.

Implements

Applies to

Product Versions
.NET 6, 7, 8, 9, 10