DbCommand::UpdatedRowSource Property

 

Gets or sets how command results are applied to the DataRow when used by the Update method of a DbDataAdapter.

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

public:
property UpdateRowSource UpdatedRowSource {
	virtual UpdateRowSource get() abstract;
	virtual void set(UpdateRowSource value) abstract;
}

Property Value

Type: System.Data::UpdateRowSource

One of the UpdateRowSource values. The default is Both unless the command is automatically generated. Then the default is None.

Throws a ArgumentException if the value entered was not one of the UpdateRowSource values.

Universal Windows Platform
Available since 10
.NET Framework
Available since 2.0
Return to top
Show: