共用方式為


IdentityRangeInfo.CurrentIdentityValue 屬性

Gets or sets the last identity value generated.

命名空間:  Microsoft.SqlServer.Replication
組件:  Microsoft.SqlServer.Rmo (在 Microsoft.SqlServer.Rmo.dll 中)

語法

'宣告
Public Property CurrentIdentityValue As Long 
    Get 
    Set
'用途
Dim instance As IdentityRangeInfo 
Dim value As Long 

value = instance.CurrentIdentityValue

instance.CurrentIdentityValue = value
public long CurrentIdentityValue { get; set; }
public:
property long long CurrentIdentityValue {
    long long get ();
    void set (long long value);
}
member CurrentIdentityValue : int64 with get, set
function get CurrentIdentityValue () : long 
function set CurrentIdentityValue (value : long)

屬性值

型別:System.Int64
An Int64 value.

備註

This property can be retrieved or set by any user.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

請參閱

參考

IdentityRangeInfo 類別

Microsoft.SqlServer.Replication 命名空間

其他資源

IDENT_CURRENT (Transact-SQL)