Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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)

private:
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
Show:
© 2017 Microsoft