共用方式為


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 命名空間