Partilhar via


NS$instance_name: Subscribers Object

The NS$instance_name: Subscribers object provides instance-level counters. These counters monitor subscriber-related activity for an instance by querying the instance database. Because these counters query a database, they can run on any server that runs the Notification Services engine.

Counter Description Use

Subscribers Added

Number of subscribers added since the instance last started.

Use to determine how many subscribers are being added to the system.

Subscribers Disabled

Number of subscribers that are currently marked as disabled.

Subscribers are disabled on an individual basis using the Subscriber.Disabled property followed by the Subscriber.Update method.

Use to determine how many subscribers cannot receive notifications because their accounts have been disabled programmatically.

Subscribers Enabled

Number of subscribers that are currently marked as enabled.

Subscribers can be enabled on an individual basis using the Subscriber.Enabled property followed by the Subscriber.Update method.

Use to determine how many subscribers can receive notifications.

The subscribers counters are updated on a periodic basis using a performance monitoring thread that is hosted by the generator. The update period is specified by the PerformanceQueryInterval element in the application definition file (ADF).

For subscribers counters, you do not need to select a counter instance. All subscribers are located in the instance database, so selecting either All instances or _total returns the same values.

Important

Performance counter instances are available only when the instance is running.

See Also

Concepts

Notification Services Performance Objects
Specifying Application Execution Settings

Help and Information

Getting SQL Server 2005 Assistance