The Microsoft.SqlServer.Management.Nmo namespace contains classes that are used to develop and administer Notification Services instances and applications.
For more information about developing Notification Services instances and applications, see 生成通知解决方案.
For a sample application using Notification Services Management Objects (NMO), see FlightNmo 示例.
Classes
| Class | Description |
|---|---|
| Application | Represents a Notification Services application. |
| ApplicationCollection | Represents the collection of Notification Services applications in a given Notification Services instance. |
| ApplicationDatabaseFile | Defines an application database data file. |
| ApplicationDatabaseFileCollection | Represents a collection of application database data files in a ApplicationDatabaseFileGroup. |
| ApplicationDatabaseFileGroup | Describes one database filegroup for a Notification ServicesApplication. |
| ApplicationDatabaseFileGroupCollection | Represents the collection of application database filegroups for a Notification ServicesApplication. |
| ApplicationDatabaseLogFile | Defines an application database log file. |
| ApplicationDatabaseLogFileCollection | Represents the collection of application database log files for a Notification ServicesApplication. |
| ApplicationDatabaseOptions | Represents the database options for an application database. |
| ContentFormatter | Represents a content formatter, which formats notifications for a specific notification class. |
| ContentFormatterArgument | Represents one name/value pair for a content formatter initialization argument. |
| ContentFormatterArgumentCollection | Represents the collection of initialization arguments for a ContentFormatter object. |
| DeliveryChannel | Represents a delivery channel for an instance of Notification Services. |
| DeliveryChannelArgument | Represents one name/value pair for a delivery channel argument. These arguments are typically used to supply configuration and authentication information required by the delivery service. |
| DeliveryChannelArgumentCollection | Represents the collection of arguments to be passed to the delivery protocol for the DeliveryChannel. |
| DeliveryChannelCollection | Represents the collection of delivery channels for an Instance of Notification Services. |
| Distributor | Represents one distributor for a Notification Services application. |
| DistributorCollection | Represents the collection of distributors for a Notification ServicesApplication. |
| EventChronicle | Represents a Notification Services application event chronicle, which is supplemental storage for event data. |
| EventChronicleCollection | Represents the collection of event chronicles for an event class. |
| EventChronicleRule | Represents a event chronicle maintenance query to run for each generator quantum in which an event batch arrives into the parent event class. |
| EventClass | Represents a event class for a Notification ServicesApplication. |
| EventClassCollection | Represents the collection of event classes for a Notification ServicesApplication. |
| EventField | Represents a field in the event class schema. |
| EventFieldCollection | Represents the collection of event fields for a Notification ServicesEventClass. |
| Generator | Represents the application's generator. |
| HostedEventProvider | Represents a hosted event provider for a Notification ServicesApplication. |
| HostedEventProviderArgument | Represents one name/value pair for a hosted event provider argument. Not all hosted event providers use arguments. |
| HostedEventProviderArgumentCollection | Represents the collection of arguments for a Notification ServicesHostedEventProvider. |
| HostedEventProviderCollection | Represents the collection of hosted event providers for a Notification ServicesApplication. |
| Instance | Represents an instance of Notification Services. |
| InstanceCollection | Represents a collection of Notification ServicesInstance objects. |
| InstanceDatabaseFile | Represents the file specifications for an instance database file. |
| InstanceDatabaseFileCollection | Represents the collection of database data files for a Notification ServicesInstanceDatabaseFileGroup. |
| InstanceDatabaseFileGroup | Describes one database filegroup for a Notification ServicesInstance. |
| InstanceDatabaseFileGroupCollection | Represents the collection of database filegroups for a Notification ServicesInstance. |
| InstanceDatabaseLogFile | Defines an instance database log file. |
| InstanceDatabaseLogFileCollection | Represents the collection of database log files for a Notification ServicesInstance. |
| InstanceDatabaseOptions | Represents the database options for an instance database. |
| NonHostedEventProvider | Represents a non-hosted event provider for a Notification Services application. |
| NonHostedEventProviderCollection | Represents the collection of non-hosted event providers for a Notification ServicesApplication. |
| NotificationClass | Represents a notification class in a Notification Services application. |
| NotificationClassCollection | Represents the collection of notification classes for a Notification ServicesApplication. |
| NotificationClassProtocol | Represents a delivery protocol for a notification class. |
| NotificationClassProtocolCollection | Represents the collection of delivery protocols for a Notification ServicesNotificationClass. |
| NotificationComputedField | Represents a computed field in a notification class schema. |
| NotificationComputedFieldCollection | Represents the collection of computed fields for a NotificationClass. |
| NotificationField | Represents a field in a notification class schema. |
| NotificationFieldCollection | Represents the collection of NotificationField objects for a NotificationClass. |
| NotificationServices | Represents a Notification Services server. |
| ProtocolDefinition | Represents a custom delivery protocol for an instance of Notification Services. |
| ProtocolDefinitionCollection | Represents the collection of custom delivery protocols for a Notification ServicesInstance. |
| ProtocolField | Represents a single protocol header field. |
| ProtocolFieldCollection | Represents the collection of delivery protocol fields for a Notification ServicesNotificationClassProtocol. |
| ProtocolRetrySchedule | Represents the one retry schedule interval for a NotificationClassProtocol. |
| ProtocolRetryScheduleCollection | Represents the collection of retry schedules for a NotificationClassProtocol object. |
| SubscriptionChronicle | Represents a Notification Services application subscription chronicle, which is supplemental storage for subscription data. |
| SubscriptionChronicleCollection | Represents a collection of subscription chronicle definitions for a Notification Services application. |
| SubscriptionClass | Represents a subscription class in a Notification Services application. |
| SubscriptionClassCollection | Represents the collection of subscription classes for a Notification ServicesApplication. |
| SubscriptionConditionEventRule | Describes an event rule that uses condition actions to generate notifications. |
| SubscriptionConditionEventRuleCollection | Represents the collection of condition-based event rules for a Notification ServicesSubscriptionClass. |
| SubscriptionConditionScheduledRule | Describes a scheduled rule that uses condition actions to generate notifications. |
| SubscriptionConditionScheduledRuleCollection | Represents the collection of condition-based scheduled rules for a Notification ServicesSubscriptionClass. |
| SubscriptionEventRule | Represents an event rule that contains simple actions, not condition actions. |
| SubscriptionEventRuleCollection | Represents the collection of event rules for a subscription class. |
| SubscriptionField | Represents a field in the subscription class schema. |
| SubscriptionFieldCollection | Represents the collection of SubscriptionField objects in the subscription class schema. |
| SubscriptionScheduledRule | Represents a scheduled rule that contains actions, not condition actions. |
| SubscriptionScheduledRuleCollection | Represents the collection of scheduled rules for a subscription class. |
| VacuumSchedule | Define the vacuuming (data removal) schedule for the Notification ServicesApplication. |
| VacuumScheduleCollection | Represents the collection of VacuumSchedule objects for the Application. |