NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

SQLParameter.SourceVersion

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);

Property Value

One of the DataRowVersion values. The default is Current.

Exceptions

Exception Type Condition
InvalidDataRowVersion The value set is not one of the DataRowVersion values.

Remarks

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.

See Also

SQLParameter Class | SQLParameter Members | System.Data.SQL Namespace