Partager via


IEventCollector.Initialize Method

Explicit interface method definition for the EventCollector class.

Espace de noms: Microsoft.SqlServer.NotificationServices
Assembly: Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)

Syntaxe

'Déclaration
Sub Initialize ( _
    nsApplication As NSApplication, _
    applicationName As String _
)
void Initialize (
    NSApplication nsApplication,
    string applicationName
)
void Initialize (
    NSApplication^ nsApplication, 
    String^ applicationName
)
void Initialize (
    NSApplication nsApplication, 
    String applicationName
)
function Initialize (
    nsApplication : NSApplication, 
    applicationName : String
)

Paramètres

  • nsApplication
    An NSApplication that represents the Notification Services application to which this EventCollector submits events. This value is necessary for gathering event statistics for the given event provider.
  • applicationName
    A string containing the name of the event provider for this event collector.

Notes

Do not implement this method. This method is a member of an explicit interface definition for the EventCollector class and is provided only for COM interop.

Sécurité des threads

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

IEventCollector Interface
IEventCollector Members
Microsoft.SqlServer.NotificationServices Namespace