共用方式為


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);