IEventCollector.Initialize Method
Explicit interface method definition for the EventCollector class.
Spazio dei nomi: Microsoft.SqlServer.NotificationServices
Assembly : Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)
Sintassi
'Dichiarazione
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
)
Parametri
- 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.
Osservazioni
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.
Piattaforme
Piattaforme di sviluppo
Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.
Piattaforme di destinazione
Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.
Vedere anche
Riferimento
IEventCollector Interface
IEventCollector Members
Microsoft.SqlServer.NotificationServices Namespace