Condividi tramite


Proprietà IMergeSynchronizationAgent.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
Property MetadataRetentionCleanup As Boolean 
    Get 
    Set
'Utilizzo
Dim instance As IMergeSynchronizationAgent 
Dim value As Boolean 

value = instance.MetadataRetentionCleanup

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

Valore proprietà

Tipo: System.Boolean
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.

Vedere anche

Riferimento

IMergeSynchronizationAgent Interfaccia

Spazio dei nomi Microsoft.SqlServer.Replication