共用方式為


PullSubscription.EnabledForSynchronizationManager 屬性

Specifies whether or not the subscription can be synchronized using Windows Synchronization Manager.

命名空間:  Microsoft.SqlServer.Replication
組件:  Microsoft.SqlServer.Rmo (在 Microsoft.SqlServer.Rmo.dll 中)

語法

'宣告
Public Property EnabledForSynchronizationManager As Boolean 
    Get 
    Set
'用途
Dim instance As PullSubscription 
Dim value As Boolean 

value = instance.EnabledForSynchronizationManager

instance.EnabledForSynchronizationManager = value
public bool EnabledForSynchronizationManager { get; set; }
public:
property bool EnabledForSynchronizationManager {
    bool get ();
    void set (bool value);
}
member EnabledForSynchronizationManager : bool with get, set
function get EnabledForSynchronizationManager () : boolean 
function set EnabledForSynchronizationManager (value : boolean)

屬性值

型別:System.Boolean
A Boolean value. If true, the subscription can be synchronized using Windows Synchronization Manager. If false, the subscription can not be synchronized using Windows Synchronization Manager.

備註

The EnabledForSynchronizationManager property can only be retrieved by members of the sysadmin fixed server role at the Subscriber or by members of the db_owner fixed database role on the subscription database.

The EnabledForSynchronizationManager property can only be set by members of the sysadmin fixed server role at the Subscriber or by members of the db_owner fixed database role on the subscription database.

請參閱

參考

PullSubscription 類別

Microsoft.SqlServer.Replication 命名空間