Partilhar via


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
)

Parameters

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

Remarks

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.

Thread Safety

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

IEventCollector Interface
IEventCollector Members
Microsoft.SqlServer.NotificationServices Namespace