DbDataAdapter::IDbDataAdapter::UpdateCommand Property


Gets or sets an SQL statement used to update records in the data source.

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

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

Property Value

Type: System.Data::IDbCommand^

An IDbCommand used during Update to update records in the data source for modified 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 UpdateCommand.

.NET Framework
Available since 2.0
Return to top