Priority Property

后续版本的 Microsoft SQL Server 将删除该功能。请避免在新的开发工作中使用该功能,并着手修改当前还在使用该功能的应用程序。

The Priority property specifies the weighting given to resolve conflicts if more than one change occurs in replicated data.

语法

object
.Priority [= value]

Parts

  • object
    An expression that evaluates to an object in the Applies To list
  • value
    An approximate numeric value

Data Type

Float

Modifiable

Read-only for a MergePublication object. Read/write for merge replication subscription objects.

Prototype (C/C++)

HRESULT GetPriority(float* pRetVal);
HRESULT SetPriority(float NewValue);

Applies To:

MergePublication Object

MergeSubscription Object

MergePullSubscription Object