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 合并复制的工作机制.