Compartir a través de


Subscriber.Enabled Property

Gets or sets the status of a subscriber.

Espacio de nombres: Microsoft.SqlServer.NotificationServices
Ensamblado: Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)

Sintaxis

'Declaración
Public Property Enabled As Boolean
public bool Enabled { get; set; }
public:
virtual property bool Enabled {
    bool get () sealed;
    void set (bool value) sealed;
}
/** @property */
public final boolean get_Enabled ()

/** @property */
public final void set_Enabled (boolean value)
public final function get Enabled () : boolean

public final function set Enabled (value : boolean)

Valor de propiedad

A Boolean value indicating whether the subscriber is enabled.

Notas

This property gets or sets the status of a subscriber, by changing the value of the Enabled field in the subscriber record.

The Enabled field is used to enable or disable a subscriber within the Notification Services system. When the Enabled status is true, the subscriber is active, and the subscriber's subscriptions can generate notifications. When the Enabled status is false, the subscriber is inactive and the subscriber's subscriptions will not generate notifications.

This property default is true.

Seguridad para subprocesos

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

Subscriber Class
Subscriber Members
Microsoft.SqlServer.NotificationServices Namespace