IJSVsaSite.GetEventSourceInstance(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a reference to an event source previously added to a script engine using the AddEventSource(String, String) method.
public:
System::Object ^ GetEventSourceInstance(System::String ^ itemName, System::String ^ eventSourceName);
public object GetEventSourceInstance (string itemName, string eventSourceName);
abstract member GetEventSourceInstance : string * string -> obj
Public Function GetEventSourceInstance (itemName As String, eventSourceName As String) As Object
Parameters
- itemName
- String
The specified item name.
- eventSourceName
- String
The specified event source name.
Returns
The event source to the engine.