DB2Command.UpdatedRowSource Property

Gets or sets a value that specifies how the Update method should apply command results to the DataRow.

Namespace:
IBM.Data.DB2
Assembly:
IBM.Data.DB2 (in IBM.Data.DB2.dll)

Syntax


[Visual Basic]
Public Property UpdatedRowSource As UpdateRowSource
[C#]
public UpdateRowSource UpdatedRowSource {get; set;}
[C++]
public: __property UpdateRowSource get_UpdatedRowSource();
public: __property void set_UpdatedRowSource(UpdateRowSource);
[JScript]
public function get UpdatedRowSource() : UpdateRowSource;
public function set UpdatedRowSource(UpdateRowSource);

Property value

One of the System.Data.UpdateRowSource values.

Exceptions

Exception type Condition
ArgumentException The value entered was not one of the UpdateRowSource values.

Remarks

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