共用方式為


IdentityRangeInfo.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.

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

語法

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

value = instance.PublisherIdentityRangeSize

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

屬性值

型別:System.Int64
An Int64 value that specifies the identity range size.

備註

The identity range size indicates the maximum number of new rows that can be inserted into an identity column in a table at the Publisher or at a republishing Subscriber before another identity range is allocated. The IdentityRangeThreshold property indicates when an identity range is allocated.

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 命名空間