Subscription Members
Represents a single subscription.
The following tables list the members exposed by the Subscription type.
Public Constructors
Nom | Description | |
---|---|---|
Subscription | Overloaded. Creates an instance of the Subscription class. |
Haut de la page
Public Properties
Nom | Description | |
---|---|---|
Condition | Gets or sets the condition. This property is used for subscription classes that contain condition actions. | |
Enabled | Gets or sets the status of a subscription. | |
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). | |
HasTimedRule | Indicates whether this subscription has one or more scheduled rules. | |
Item | Overloaded. Gets or sets the value of a field in the subscription record. | |
NSApplication | Gets an NSApplication representing the Notification Services application that contains this subscription. | |
RuleName | Gets or sets the subscription rule name for a rule-based subscription. This class is used for subscription classes that contain condition actions. | |
ScheduleRecurrence | Gets or sets the schedule recurrence information. | |
ScheduleStart | Gets or sets the schedule start information. | |
SubscriberId | Gets or sets the subscriber ID for this subscription. | |
SubscriptionClass | Gets a SubscriptionClass object representing the subscription class that defines this subscription. This property is deprecated. | |
SubscriptionClassName | The name of the subscription class for this subscription. | |
SubscriptionId | Gets or sets the subscription identifier for a subscription record. |
Haut de la page
Public Methods
(see also Protected Methods )
Nom | Description | |
---|---|---|
Add | Adds a subscription record to the application database. | |
Delete | Deletes a subscription record from the Notification Services database. | |
Equals | Overloaded. Overridden. Returns a value indicating whether this instance is equal to a specified object. | |
GetFieldName | Returns the name of a field in the subscription record. | |
GetFieldOrdinal | Returns the ordinal of a field in the subscription record. | |
GetFieldType | Returns the data type of a field in the subscription record. | |
GetFieldTypeMods | Gets the field modifiers of a field in the subscription record. | |
GetFieldValue | Returns the value of a field in the subscription record. | |
GetHashCode | Overridden. Gets the hash code for the Subscription object. | |
GetType | (inherited from Object ) | |
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. | |
ReferenceEquals | (inherited from Object ) | |
SetFieldValue | Sets the value of a field in the subscription record. | |
ToString | Overridden. Returns a String representation of the Subscription object. | |
Update | Updates the information in a subscription record. |
Haut de la page
Protected Methods
Nom | Description | |
---|---|---|
Finalize | (inherited from Object ) | |
MemberwiseClone | (inherited from Object ) |
Haut de la page
Voir aussi
Référence
Subscription Class
Microsoft.SqlServer.NotificationServices Namespace