Metodo IVsaSite.GetEventSourceInstance
Ottiene un riferimento a un'origine eventi precedentemente aggiunta a un motore di script mediante il metodo AddEventSource.
Spazio dei nomi: Microsoft.Vsa
Assembly: Microsoft.Vsa (in Microsoft.Vsa.dll)
Sintassi
'Dichiarazione
Function GetEventSourceInstance ( _
itemName As String, _
eventSourceName As String _
) As Object
Object GetEventSourceInstance(
string itemName,
string eventSourceName
)
Object^ GetEventSourceInstance(
String^ itemName,
String^ eventSourceName
)
abstract GetEventSourceInstance :
itemName:string *
eventSourceName:string -> Object
function GetEventSourceInstance(
itemName : String,
eventSourceName : String
) : Object
Parametri
itemName
Tipo: StringNome dell'elemento specificato.
eventSourceName
Tipo: StringNome dell'origine evento specificata.
Valore restituito
Tipo: Object
Restituisce l'origine evento al motore.