IVsaSite.GetEventSourceInstance Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
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.StringThe specified item name.
eventSourceName
Type: System.StringThe specified event source name.
Return Value
Type: System.Object
Returns the event source to the engine.