Επεξεργασία

Κοινή χρήση μέσω


IJSVsaSite.GetEventSourceInstance(String, String) Method

Definition

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.

Applies to