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!

ADOParameter.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 property was not set to a valid DataRowVersion value.

Remarks

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.

See Also

ADOParameter Class | ADOParameter Members | System.Data.ADO Namespace