DbDataAdapter::IDbDataAdapter::DeleteCommand Property

 

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

Namespace:   System.Data.Common
Assembly:  System.Data (in System.Data.dll)

private:
property IDbCommand^ DeleteCommand {
	virtual IDbCommand^ get() sealed = IDbDataAdapter::DeleteCommand::get;
	virtual void set(IDbCommand^ value) sealed = IDbDataAdapter::DeleteCommand::set;
}

Property Value

Type: System.Data::IDbCommand^

An IDbCommand used during Update 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.

.NET Framework
Available since 2.0
Return to top
Show: