DbBatchCommandCollection.Remove(DbBatchCommand) 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.
Removes the specified DbBatchCommand object from the collection.
public:
abstract bool Remove(System::Data::Common::DbBatchCommand ^ item);
public abstract bool Remove(System.Data.Common.DbBatchCommand item);
abstract member Remove : System.Data.Common.DbBatchCommand -> bool
Public MustOverride Function Remove (item As DbBatchCommand) As Boolean
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.