UpdatedRowSource Property

SqlCommand::UpdatedRowSource Property

 

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

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

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

Property Value

Type: System.Data::UpdateRowSource

One of the UpdateRowSource values.

The default UpdateRowSource value is Both unless the command is automatically generated (as in the case of the SqlCommandBuilder), in which case the default is None.

For more information about using the UpdatedRowSource property, see DataAdapter Parameters.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft