Gets or sets the DataRowVersion to use when loading Value.
[Visual Basic] Overridable Public Property SourceVersion As DataRowVersion [C#] public DataRowVersion SourceVersion {virtual get; virtual set;} [C++] public: __property virtual DataRowVersion get_SourceVersion(); public: __property virtual void set_SourceVersion(DataRowVersion); [JScript] public function get SourceVersion() : DataRowVersion; public function set SourceVersion(DataRowVersion);
One of the DataRowVersion values. The default is Current.
Exception Type | Condition |
---|---|
InvalidDataRowVersion | The property was not set to a valid DataRowVersion value. |
When used by UpdateCommand during Update to determine if the original or current value is used for a parameter value. This allows primary keys to be updated. This property is ignored by the InsertCommand or DeleteCommand. This property is set to the version of the DataRow used.
ADOParameter Class | ADOParameter Members | System.Data.ADO Namespace