IVsaSite.GetEventSourceInstance Method
Gets a reference to an event source previously added to a script engine using the AddEventSource() method.
Namespace: Microsoft.Vsa
Assembly: Microsoft.Vsa (in Microsoft.Vsa.dll)
Syntax
'Declaration
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
Parameters
- itemName
Type: System.String
The specified item name.
- eventSourceName
Type: System.String
The specified event source name.
Return Value
Type: System.Object
Returns the event source to the engine.