MetadataRetentionCleanup 属性
Get or sets whether to clean up metadata.
命名空间: Microsoft.SqlServer.Replication
程序集: Microsoft.SqlServer.Replication(在 Microsoft.SqlServer.Replication.dll 中)
语法
声明
Public Overridable Property MetadataRetentionCleanup As Boolean
Get
Set
用法
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)
属性值
类型:System. . :: . .Boolean
A Boolean value.
实现
IMergeSynchronizationAgent. . :: . .MetadataRetentionCleanup
注释
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 合并复制的工作机制.