IdentityRangeInfo 类

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

继承层次结构

System. . :: . .Object
  Microsoft.SqlServer.Replication..::..IdentityRangeInfo

命名空间:  Microsoft.SqlServer.Replication
程序集:  Microsoft.SqlServer.Rmo(在 Microsoft.SqlServer.Rmo.dll 中)

语法

声明
Public NotInheritable Class IdentityRangeInfo
用法
Dim instance As IdentityRangeInfo
public sealed class IdentityRangeInfo
public ref class IdentityRangeInfo sealed
[<SealedAttribute>]
type IdentityRangeInfo =  class end
public final class IdentityRangeInfo

IdentityRangeInfo 类型公开以下成员。

构造函数

  名称 说明
公共方法 IdentityRangeInfo Creates a new instance of the IdentityRangeInfo class.

页首

属性

  名称 说明
公共属性 CurrentIdentityValue Gets or sets the last identity value generated.
公共属性 IdentityIncrement Gets or sets the increment value.
公共属性 IdentityRangeManagementOption Gets or sets the identity range management options used by replication.
公共属性 IdentityRangeThreshold Gets or sets the value that determines when a new identity range is assigned to the Publisher or Subscriber.
公共属性 InRepublishing Gets or sets whether the article exists at a republishing Subscriber in a merge replication topology.
公共属性 MaximumIdentityValue Gets or sets the maximum value of the identity column.
公共属性 NextStartingSeed Gets the starting point of the next range if automatic identity range is enabled.
公共属性 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.
公共属性 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.
公共属性 TablePublished Gets or sets whether the table is published in an existing publication.
公共属性 UserData Gets or sets an object property value that allows users to attach their own data to this object.

页首

方法

  名称 说明
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 ToString (从 Object 继承。)

页首

注释

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.

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。