Partilhar via


Subscription Members

Represents a single subscription.

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

Public Constructors

  Name Description
Subscription Overloaded. Creates an instance of the Subscription class.

Top

Public Properties

  Name Description
ms152597.pubproperty(en-US,SQL.90).gif Condition Gets or sets the condition. This property is used for subscription classes that contain condition actions.
ms152597.pubproperty(en-US,SQL.90).gif Enabled Gets or sets the status of a subscription.
ms152597.pubproperty(en-US,SQL.90).gif FieldCount Returns the number of developer-defined subscription fields for this subscription, as specified in a subscription class schema in the application definition file (ADF).
ms152597.pubproperty(en-US,SQL.90).gif HasTimedRule Indicates whether this subscription has one or more scheduled rules.
ms152597.pubproperty(en-US,SQL.90).gif Item Overloaded. Gets or sets the value of a field in the subscription record.
ms152597.pubproperty(en-US,SQL.90).gif NSApplication Gets an NSApplication representing the Notification Services application that contains this subscription.
ms152597.pubproperty(en-US,SQL.90).gif RuleName Gets or sets the subscription rule name for a rule-based subscription. This class is used for subscription classes that contain condition actions.
ms152597.pubproperty(en-US,SQL.90).gif ScheduleRecurrence Gets or sets the schedule recurrence information.
ms152597.pubproperty(en-US,SQL.90).gif ScheduleStart Gets or sets the schedule start information.
ms152597.pubproperty(en-US,SQL.90).gif SubscriberId Gets or sets the subscriber ID for this subscription.
ms152597.pubproperty(en-US,SQL.90).gif SubscriptionClass Gets a SubscriptionClass object representing the subscription class that defines this subscription. This property is deprecated.
ms152597.pubproperty(en-US,SQL.90).gif SubscriptionClassName The name of the subscription class for this subscription.
ms152597.pubproperty(en-US,SQL.90).gif SubscriptionId Gets or sets the subscription identifier for a subscription record.

Top

Public Methods

(see also Protected Methods )

  Name Description
ms152597.pubmethod(en-US,SQL.90).gif Add Adds a subscription record to the application database.
ms152597.pubmethod(en-US,SQL.90).gif Delete Deletes a subscription record from the Notification Services database.
ms152597.pubmethod(en-US,SQL.90).gif Equals Overloaded. Overridden. Returns a value indicating whether this instance is equal to a specified object.
ms152597.pubmethod(en-US,SQL.90).gif GetFieldName Returns the name of a field in the subscription record.
ms152597.pubmethod(en-US,SQL.90).gif GetFieldOrdinal Returns the ordinal of a field in the subscription record.
ms152597.pubmethod(en-US,SQL.90).gif GetFieldType Returns the data type of a field in the subscription record.
ms152597.pubmethod(en-US,SQL.90).gif GetFieldTypeMods Gets the field modifiers of a field in the subscription record.
ms152597.pubmethod(en-US,SQL.90).gif GetFieldValue Returns the value of a field in the subscription record.
ms152597.pubmethod(en-US,SQL.90).gif GetHashCode Overridden. Gets the hash code for the Subscription object.
ms152597.pubmethod(en-US,SQL.90).gif GetType  (inherited from Object )
ms152597.pubmethod(en-US,SQL.90).gif Initialize Initializes an instance of the Subscription class with a reference to an NSApplication and the name of a subscription class. Is used in conjunction with the parameterless constructor to enable COM interoperability.
ms152597.pubmethod(en-US,SQL.90).gifms152597.static(en-US,SQL.90).gif ReferenceEquals  (inherited from Object )
ms152597.pubmethod(en-US,SQL.90).gif SetFieldValue Sets the value of a field in the subscription record.
ms152597.pubmethod(en-US,SQL.90).gif ToString Overridden. Returns a String representation of the Subscription object.
ms152597.pubmethod(en-US,SQL.90).gif Update Updates the information in a subscription record.

Top

Protected Methods

  Name Description
ms152597.protmethod(en-US,SQL.90).gif Finalize  (inherited from Object )
ms152597.protmethod(en-US,SQL.90).gif MemberwiseClone  (inherited from Object )

Top

See Also

Reference

Subscription Class
Microsoft.SqlServer.NotificationServices Namespace