Defining Non-Hosted Event Providers
Non-hosted event providers are external applications that submit event data to a Notification Services application using the EventCollector class, EventLoader class or event-collection stored procedures.
Notification Services does not control or interact with the non-hosted event providers. Therefore, you only provide the event provider name in the application definition so that you can later track and troubleshoot events submitted by the event provider.
Defining a Non-Hosted Event Provider
Each application can have non-hosted event providers. When you define an application, you declare and provide a name for each non-hosted event provider.
To define a hosted event provider
If you are defining an application through XML, define hosted event providers in the Providers element of the application definition file (ADF). If you are defining an application using Notification Services Management Objects (NMO), you individually define NonHostedEventProvider objects and then add them to a NonHostedEventProviderCollection using the application's NonHostedEventProviders property.
- NonHostedProvider Element (ADF)
- NonHostedEventProvider (NMO)
To provide the event provider name
- ProviderName Element for NonHostedProvider (ADF)
- NonHostedEventProvider constructor (NMO)
See Also
Reference
Microsoft.SqlServer.NotificationServices.EventCollector
Microsoft.SqlServer.NotificationServices.EventLoader
Concepts
Defining Hosted Event Providers
Other Resources
Defining Notification Services Applications
Developing a Custom Event Provider
Defining Event Providers
Defining Event Classes
Standard Event Providers
Notification Services Stored Procedures (Transact-SQL)