Поделиться через


Свойство IMergeSynchronizationAgent.MetadataRetentionCleanup

Get or sets whether to clean up metadata.

Пространство имен:  Microsoft.SqlServer.Replication
Сборка:  Microsoft.SqlServer.Replication (в Microsoft.SqlServer.Replication.dll)

Синтаксис

'Декларация
Property MetadataRetentionCleanup As Boolean 
    Get 
    Set
'Применение
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)

Значение свойства

Тип: System.Boolean
A Boolean value.

Замечания

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 Как работает репликация слиянием.

См. также

Справочник

IMergeSynchronizationAgent Интерфейс

Пространство имен Microsoft.SqlServer.Replication