مشاركة عبر


IdentityRangeInfo Class

Structure that represents identity range management settings for a published article when the source table contains identity columns.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Replication.IdentityRangeInfo

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

Syntax

'Declaration
Public NotInheritable Class IdentityRangeInfo
'Usage
Dim instance As IdentityRangeInfo
public sealed class IdentityRangeInfo
public ref class IdentityRangeInfo sealed
[<SealedAttribute>]
type IdentityRangeInfo =  class end
public final class IdentityRangeInfo

The IdentityRangeInfo type exposes the following members.

Constructors

  Name Description
Public method IdentityRangeInfo Creates a new instance of the IdentityRangeInfo class.

Top

Properties

  Name Description
Public property CurrentIdentityValue Gets or sets the last identity value generated.
Public property IdentityIncrement Gets or sets the increment value.
Public property IdentityRangeManagementOption Gets or sets the identity range management options used by replication.
Public property IdentityRangeThreshold Gets or sets the value that determines when a new identity range is assigned to the Publisher or Subscriber.
Public property InRepublishing Gets or sets whether the article exists at a republishing Subscriber in a merge replication topology.
Public property MaximumIdentityValue Gets or sets the maximum value of the identity column.
Public property NextStartingSeed Gets the starting point of the next range if automatic identity range is enabled.
Public property PublisherIdentityRangeSize Gets or sets the identity range size of a published table at the Publisher for transactional replication, or at a republishing Subscriber for merge replication.
Public property SubscriberIdentityRangeSize Gets or sets the identity range size of a table at the Subscriber for transactional replication, or at both the Publisher and Subscriber for merge replication.
Public property TablePublished Gets or sets whether the table is published in an existing publication.
Public property UserData Gets or sets an object property value that allows users to attach their own data to this object.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Remarks

IdentityRangeInfo also contains information about current identity properties of a published object.

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 safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Thread Safety

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

See Also

Reference

Microsoft.SqlServer.Replication Namespace

EnumIdentityRangeInfo