語言

MergePublication.MaxConcurrentDynamicSnapshots 屬性

定義

當發佈有參數化列過濾器時,能取得或設定在產生資料快照時,最多同時支援的 快照集代理程式 會話數量。

public:
 property int MaxConcurrentDynamicSnapshots { int get(); void set(int value); };
public int MaxConcurrentDynamicSnapshots { get; set; }
member this.MaxConcurrentDynamicSnapshots : int with get, set
Public Property MaxConcurrentDynamicSnapshots As Integer

屬性值

值為 0 時,任何時間同時對出版品執行的同時過濾資料快照會話數量沒有限制。

備註

若同時排程執行的快照程序數量超過最大數量,未完成的工作會被放入佇列,直到正在執行的快照程序完成。

MaxConcurrentDynamicSnapshots db_owner 成員可檢索該屬性,或透過出版資料庫中的固定資料庫角色,或是出版存取清單(PAL)成員取得該出版資料。

MaxConcurrentDynamicSnapshots屬性可由 Publisher 固定伺服器角色的系統管理員成員設定。 也可以由出版資料庫中 db_owner 固定資料庫角色的成員設定。

檢索 MaxConcurrentDynamicSnapshots 等同於執行 sp_helpmergepublication

設定 MaxConcurrentDynamicSnapshots 等同於執行 sp_addmergepublicationsp_changemergepublication

適用於