共用方式為


MergeSynchronizationAgent.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
True if to clean up metadata; otherwise, false.

實作

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 合併式複寫的運作方式.

請參閱

參考

MergeSynchronizationAgent 類別

Microsoft.SqlServer.Replication 命名空間