DbDataAdapter.IDbDataAdapter.DeleteCommand Property


Gets or sets an SQL statement for deleting records from the data set.

property System::Data::IDbCommand ^ System::Data::IDbDataAdapter::DeleteCommand { System::Data::IDbCommand ^ get(); void set(System::Data::IDbCommand ^ value); };
System.Data.IDbCommand? System.Data.IDbDataAdapter.DeleteCommand { get; set; }
System.Data.IDbCommand System.Data.IDbDataAdapter.DeleteCommand { get; set; }
member this.System.Data.IDbDataAdapter.DeleteCommand : System.Data.IDbCommand with get, set
 Property DeleteCommand As IDbCommand Implements IDbDataAdapter.DeleteCommand

Property Value


An IDbCommand used during Update(DataSet) to delete records in the data source for deleted rows in the data set.



This member is an explicit interface member implementation. It can be used only when the DbDataAdapter instance is cast to an IDbDataAdapter interface.

For more information, see DeleteCommand.

Applies to

See also