Bewerken

Share via


IDbCommand.UpdatedRowSource Property

Definition

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

public:
 property System::Data::UpdateRowSource UpdatedRowSource { System::Data::UpdateRowSource get(); void set(System::Data::UpdateRowSource value); };
public System.Data.UpdateRowSource UpdatedRowSource { get; set; }
member this.UpdatedRowSource : System.Data.UpdateRowSource with get, set
Public Property UpdatedRowSource As UpdateRowSource

Property Value

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

Exceptions

The value entered was not one of the UpdateRowSource values.

Applies to