共用方式為


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