Compartilhar via


Application.SubscribersEnabled Property

Gets a value that indicates if the subscriber management is enabled for the instance of Notification Services.

Namespace: Microsoft.SqlServer.Management.Nmo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Declaration
Public ReadOnly Property SubscribersEnabled As Boolean
public bool SubscribersEnabled { get; }
public:
property bool SubscribersEnabled {
    bool get ();
}
/** @property */
public boolean get_SubscribersEnabled ()
public function get SubscribersEnabled () : boolean

Property Value

true if the subscriber management is enabled; otherwise false.

Remarks

When you create an instance of Notification Services, subscriber management is disabled.

When subscriber management is enabled, subscriber records can be added, modified, and deleted.

Use the Instance.EnableSubscribers method to enable subscriber management. Or, use the instances Enable method, which enables all instance and application components.

Thread Safety

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

Application Class
Application Members
Microsoft.SqlServer.Management.Nmo Namespace

Other Resources

Controlling Instance and Application Operation