Jaa


MergeSynchronizationAgent.MetadataRetentionCleanup Property

Get or sets whether to clean up metadata.

Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Replication (in microsoft.sqlserver.replication.dll)

Syntax

'Declaration
Public Overridable Property MetadataRetentionCleanup As Boolean
public virtual bool MetadataRetentionCleanup { get; set; }
public:
virtual property bool MetadataRetentionCleanup {
    bool get ();
    void set (bool newValue);
}
/** @property */
public boolean get_MetadataRetentionCleanup ()

/** @property */
public void set_MetadataRetentionCleanup (boolean newValue)
public function get MetadataRetentionCleanup () : boolean

public function set MetadataRetentionCleanup (newValue : boolean)

Property Value

A Boolean value.

Remarks

The MetadataRetentionCleanup property defaults to true. This indicates that the Merge Agent should clean up merge metadata based on the publication retention period. A value of false indicates that the Merge Agent should not clean up merge metadata. For more information about metadata cleanup, see How Merge Replication Works.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

MergeSynchronizationAgent Class
MergeSynchronizationAgent Members
Microsoft.SqlServer.Replication Namespace