Freigeben über


IEventCollector.Initialize Method

Explicit interface method definition for the EventCollector class.

Namespace: Microsoft.SqlServer.NotificationServices
Assembly : Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)

Syntax

'Declaration
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
)

Parameter

  • 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.

Hinweise

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.

Threadsicherheit

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.

Plattformen

Entwicklungsplattformen

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Zielplattforme

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Siehe auch

Verweis

IEventCollector Interface
IEventCollector Members
Microsoft.SqlServer.NotificationServices Namespace