MetadataRetentionCleanup Property (Replication ActiveX)

The MetadataRetentionCleanup property returns or sets if merge metadata is cleaned up based on the publication retention period.

Syntax

object.MetadataRetentionCleanup [ = value ]
Part Description

object

Expression that evaluates to a SQLMerge Object (Replication ActiveX) object.

value

If set to true, metadata is removed from MSmerge_genhistory, MSmerge_contents, MSmerge_tombstone, MSmerge_past_partition_mappings, and MSmerge_current_partition_mappings system tables based on the publication retention period.

Applies To

SQLMerge Object (Replication ActiveX)

Data Type

Boolean

Modifiable

Read/write

Prototype (C/C++)

HRESULT get_MetadataRetentionCleanup(VARIANT_BOOL pVal);
HRESULT put_MetadataRetentionCleanup(VARIANT_BOOL* pVal);