Managing Subscribers
The Subscriber and SubscriberEnumeration classes support adding, updating, and deleting subscriber information. These classes are provided by the Notification Services API, and can be found in the Microsoft.SqlServer.NotificationServices namespace.
A Subscriber object has properties that represent subscriber data, which can be passed to it from the subscription management interface. Using a Subscriber object, you can create, update, or delete a single subscriber record at a time.
A SubscriberEnumeration object represents the set of subscribers in a Notification Services instance. You select a specific subscriber record by supplying its subscriber ID to the indexer of a SubscriberEnumeration object, or you can step through all the subscribers in a Notification Services instance one at a time.
In This Section
Topic | Description |
---|---|
Shows how to instantiate a subscriber object. |
|
Shows how to add a subscriber to an instance of Notification Services. |
|
Shows how to update an existing subscriber record. |
|
Shows how to delete a subscriber record. |
|
Shows how to delete all subscriptions for a subscriber. |
|
Shows how to return a subscriber's devices and subscriptions. |
See Also
Concepts
Subscription Management API
Starting a Subscription Management Project
Other Resources
NSSubscriberView
Managing Subscriber Devices
Managing Subscription Data