Share via


IdentityRangeInfo.CurrentIdentityValue Property

Gets or sets the last identity value generated.

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

Syntax

'Declaration
Public Property CurrentIdentityValue As Long 
    Get 
    Set
'Usage
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)

Property Value

Type: System.Int64
An Int64 value.

Remarks

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.

See Also

Reference

IdentityRangeInfo Class

Microsoft.SqlServer.Replication Namespace

Other Resources

IDENT_CURRENT (Transact-SQL)