다음을 통해 공유


KeepPartitionChanges Property

Microsoft SQL Server의 이후 버전에서는 이 기능이 제거됩니다. 새 개발 작업에서는 이 기능을 사용하지 않도록 하고, 현재 이 기능을 사용하는 응용 프로그램은 수정하십시오.

The KeepPartitionChanges property specifies whether a Publisher retains information about what data a Subscriber owns in a horizontally partitioned merge replication topology.

구문

object
.KeepPartitionChanges [=value]

Parts

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

  • value
    TRUE or FALSE

Data Type

Boolean

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetKeepPartitionChanges(LPBOOL pRetVal);
HRESULT SetKeepPartitionChanges(BOOL NewValue);

주의

In a horizontally partitioned merge replication topology, a Publisher retains information about deletes and updates. If the KeepPartitionChanges property is set to TRUE, the Publisher can determine which row belongs to which Subscriber. Only changes to rows belonging to a particular Subscriber are replicated.

For example, if the Subscriber is responsible only for tracking sales in northern Europe, rows updated at the Publisher will be kept in a special table so that the Subscriber only receives updated rows related to sales in northern Europe when the Subscriber and the Publisher synchronize. Setting KeepPartitionChanges to TRUE can result in improved performance because Subscribers only receive the necessary updates.

If KeepPartitionChanges is set to FALSE (default), no extra information about updates or deletes is kept at the Publisher.

[!참고]

If an application calls KeepPartitionChanges on an instance of SQL Server version 7.0, the constant, SQLDMO_E_SQL80ONLY, and the message "This property or method requires Microsoft SQL Server 2000 or later" are returned.

Applies To: