Click to Rate and Give Feedback

  Switch on low bandwidth view
Community Content
In this section
Statistics Annotations (0)
SQL Server 2005 Books Online (November 2008)
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.

Topic Description

Creating a Subscriber Object

Shows how to instantiate a subscriber object.

Adding a Subscriber Record

Shows how to add a subscriber to an instance of Notification Services.

Updating a Subscriber Record

Shows how to update an existing subscriber record.

Deleting a Subscriber Record

Shows how to delete a subscriber record.

Deleting Related Subscription Information

Shows how to delete all subscriptions for a subscriber.

Getting a Subscriber's Devices and Subscriptions

Shows how to return a subscriber's devices and subscriptions.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker