語言

Subscription.EnabledForSynchronizationManager 屬性

定義

指定訂閱是否能使用 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_agentsp_addmergepushsubscription_agent

此屬性不支援非 SQL Server 發佈者。

適用於