Condividi tramite


Proprietà MergeSynchronizationAgent.MetadataRetentionCleanup

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 
    Get 
    Set
'Utilizzo
Dim instance As MergeSynchronizationAgent 
Dim value As Boolean 

value = instance.MetadataRetentionCleanup

instance.MetadataRetentionCleanup = value
public virtual bool MetadataRetentionCleanup { get; set; }
public:
virtual property bool MetadataRetentionCleanup {
    bool get ();
    void set (bool value);
}
abstract MetadataRetentionCleanup : bool with get, set 
override MetadataRetentionCleanup : bool with get, set
function get MetadataRetentionCleanup () : boolean 
function set MetadataRetentionCleanup (value : boolean)

Valore proprietà

Tipo: System.Boolean
True if to clean up metadata; otherwise, false.

Implementa

IMergeSynchronizationAgent.MetadataRetentionCleanup

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.

Vedere anche

Riferimento

MergeSynchronizationAgent Classe

Spazio dei nomi Microsoft.SqlServer.Replication