Subscription.EnabledForSynchronizationManager 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
指定訂閱是否能使用 Microsoft Windows同步管理器進行同步。
public:
property bool EnabledForSynchronizationManager { bool get(); void set(bool value); };
public bool EnabledForSynchronizationManager { get; set; }
member this.EnabledForSynchronizationManager : bool with get, set
Public Property EnabledForSynchronizationManager As Boolean
屬性值
Boolean這個值總是為假,即使現有訂閱已啟用 Windows 同步管理器。
備註
EnabledForSynchronizationManager該屬性必須在伺服器上建立訂閱前設定好。 一旦訂閱註冊存在於伺服器上,該 EnabledForSynchronizationManager 屬性就無法更改。
DatabaseName此屬性僅能由Publisher的系統管理員固定伺服器角色成員,或由發佈資料庫中db_owner固定資料庫角色的成員設定。
設定屬性 DatabaseName 等同於執行 sp_addpushsubscription_agent 或 sp_addmergepushsubscription_agent。
此屬性不支援非 SQL Server 發佈者。