SynchronizationPartner.Enabled 属性

Gets or sets whether or not this Publisher is enabled as an alternate synchronization partner.

命名空间:  Microsoft.SqlServer.Replication
程序集:  Microsoft.SqlServer.Rmo(在 Microsoft.SqlServer.Rmo.dll 中)

语法

声明
Public Property Enabled As Boolean 
    Get 
    Set
用法
Dim instance As SynchronizationPartner 
Dim value As Boolean 

value = instance.Enabled

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

属性值

类型:System.Boolean
A Boolean value. If true, the synchronization partner is enabled. If false, the synchronization partner is not enabled.

注释

This property can be accessed by any user.

This namespace, class, or member is supported only in version 2.0 of the .NET Framework.

请参阅

参考

SynchronizationPartner 类

Microsoft.SqlServer.Replication 命名空间