BaseVsaSite.GetEventSourceInstance(String, String) Method

Definition

Gets a reference to an event source previously added to a script engine using the AddEventSource(String, String) method.

C#
public virtual object GetEventSourceInstance(string itemName, string eventSourceName);

Parameters

itemName
String

The specified item name.

eventSourceName
String

The specified event source name.

Returns

The event source to the engine.

Implements

Applies to

Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1