DbParameter.SourceVersion Property
.NET Framework 2.0
Note: This property is new in the .NET Framework version 2.0.
Gets or sets the DataRowVersion to use when you load Value.
Namespace: System.Data.Common
Assembly: System.Data (in system.data.dll)
Assembly: System.Data (in system.data.dll)
'Declaration Public MustOverride Property SourceVersion As DataRowVersion 'Usage Dim instance As DbParameter Dim value As DataRowVersion value = instance.SourceVersion instance.SourceVersion = value
/** @property */ public abstract DataRowVersion get_SourceVersion () /** @property */ public abstract void set_SourceVersion (DataRowVersion value)
public abstract function get SourceVersion () : DataRowVersion public abstract function set SourceVersion (value : DataRowVersion)
Property Value
One of the DataRowVersion values. The default is Current.Used by UpdateCommand during an Update operation to determine whether the parameter value is set to Current or Original. This lets primary keys be updated. This property is set to the version of the DataRow used by the Item property, or the GetChildRows method of the DataRow object.
Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.