Condividi tramite


MergeSynchronizationAgent.MetadataRetentionCleanup Property

Get or sets whether to clean up metadata.

Spazio dei nomi: Microsoft.SqlServer.Replication
Assembly : Microsoft.SqlServer.Replication (in microsoft.sqlserver.replication.dll)

Sintassi

'Dichiarazione
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)

Valore proprietà

A Boolean value.

Osservazioni

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 Funzionamento della replica di tipo merge.

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.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

MergeSynchronizationAgent Class
MergeSynchronizationAgent Members
Microsoft.SqlServer.Replication Namespace