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

See Also