Compartilhar via


Priority Property

This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.

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

Syntax

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