Subscriber Members

Represents an individual subscriber in a given Notification Services instance.

The following tables list the members exposed by the Subscriber type.

Public Constructors

  名称 Description
Subscriber Overloaded. Creates an instance of the Subscriber class.

顶部

Public Properties

  名称 Description
ms152629.pubproperty(zh-cn,SQL.90).gif Enabled Gets or sets the status of a subscriber.
ms152629.pubproperty(zh-cn,SQL.90).gif SubscriberId Gets or sets the identifier of the subscriber record.

顶部

Public Methods

(see also Protected Methods )

  名称 Description
ms152629.pubmethod(zh-cn,SQL.90).gif Add Adds a subscriber record to the Notification Services database.
ms152629.pubmethod(zh-cn,SQL.90).gif Delete Deletes a subscriber record from the Notification Services database.
ms152629.pubmethod(zh-cn,SQL.90).gif DeleteSubscriptions Overloaded. Deletes subscriptions for the subscriber.
ms152629.pubmethod(zh-cn,SQL.90).gif Equals Overloaded. Overridden. Returns a value indicating whether this instance is equal to a specified object.
ms152629.pubmethod(zh-cn,SQL.90).gif GetDevices Gets all subscriber devices for the subscriber.
ms152629.pubmethod(zh-cn,SQL.90).gif GetHashCode Overridden. Gets the hash code for the Subscriber object.
ms152629.pubmethod(zh-cn,SQL.90).gif GetSubscriptions Gets all of the subscriber's subscriptions for the specified subscription class in the specified Notification Services application.
ms152629.pubmethod(zh-cn,SQL.90).gif GetType  (inherited from Object )
ms152629.pubmethod(zh-cn,SQL.90).gif Initialize Initializes an instance of the Subscriber class. Use this method in conjunction with the parameterless constructor to enable COM interoperability.
ms152629.pubmethod(zh-cn,SQL.90).gifms152629.static(zh-cn,SQL.90).gif ReferenceEquals  (inherited from Object )
ms152629.pubmethod(zh-cn,SQL.90).gif ToString Overridden. Returns a String representation of the Subscriber object.
ms152629.pubmethod(zh-cn,SQL.90).gif Update Updates the information in a subscriber record.

顶部

Protected Methods

  名称 Description
ms152629.protmethod(zh-cn,SQL.90).gif Finalize  (inherited from Object )
ms152629.protmethod(zh-cn,SQL.90).gif MemberwiseClone  (inherited from Object )

顶部

请参阅

参考

Subscriber Class
Microsoft.SqlServer.NotificationServices Namespace