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 value set is not one of the DataRowVersion values. |
This property is used by the UpdateCommand during the 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.
SQLParameter Class | SQLParameter Members | System.Data.SQL Namespace