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
public long CurrentIdentityValue { get; set; }
public:
property long long CurrentIdentityValue {
    long long get ();
    void set (long long value);
}
/** @property */
public long get_CurrentIdentityValue ()

/** @property */
public void set_CurrentIdentityValue (long value)
public function get CurrentIdentityValue () : long

public function set CurrentIdentityValue (value : long)

Property Value

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.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

IdentityRangeInfo Class
IdentityRangeInfo Members
Microsoft.SqlServer.Replication Namespace

Other Resources

IDENT_CURRENT (Transact-SQL)