Compartir a través de


SqlBatchCommandCollection.Remove Método

Definición

Sobrecargas

Remove(SqlBatchCommand)

Quita la primera aparición de un objeto específico SqlBatchCommand de la colección.

Remove(DbBatchCommand)

Quita el objeto SqlBatchCommand especificado de la colección.

Remove(SqlBatchCommand)

Quita la primera aparición de un objeto específico SqlBatchCommand de la colección.

public:
 virtual bool Remove(Microsoft::Data::SqlClient::SqlBatchCommand ^ item);
public bool Remove (Microsoft.Data.SqlClient.SqlBatchCommand item);
override this.Remove : Microsoft.Data.SqlClient.SqlBatchCommand -> bool
Public Function Remove (item As SqlBatchCommand) As Boolean

Parámetros

Devoluciones

Devuelve true si un elemento se quita correctamente. Devuelve false si no se pudo quitar un elemento o no se encontró ningún elemento.

Implementaciones

Se aplica a

Remove(DbBatchCommand)

Quita el objeto SqlBatchCommand especificado de la colección.

public:
 override bool Remove(System::Data::Common::DbBatchCommand ^ item);
public override bool Remove (System.Data.Common.DbBatchCommand item);
override this.Remove : System.Data.Common.DbBatchCommand -> bool
Public Overrides Function Remove (item As DbBatchCommand) As Boolean

Parámetros

item
DbBatchCommand

Objeto que se va a quitar de ICollection<T>.

Devoluciones

true si item se ha quitado correctamente; de lo contrario, false. Este método también devuelve false si no se encuentra item en ICollection<T>.

Se aplica a