Partager via


Enabled propriété

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

Espace de noms :  Microsoft.SqlServer.Replication
Assembly :  Microsoft.SqlServer.Rmo (dans Microsoft.SqlServer.Rmo.dll)

Syntaxe

'Déclaration
Public Property Enabled As Boolean
    Get
    Set
'Utilisation
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)

Valeur de la propriété

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

Notes

This property can be accessed by any user.

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