Share via


IVsaSite.GetEventSourceInstance メソッド

AddEventSource メソッドを使用してスクリプト エンジンに追加されたイベント ソースへの参照を取得します。

名前空間:  Microsoft.Vsa
アセンブリ:  Microsoft.Vsa (Microsoft.Vsa.dll 内)

構文

'宣言
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

パラメーター

  • itemName
    型 : String

    指定された項目名。

  • eventSourceName
    型 : String

    指定されたイベント ソース名。

戻り値

型 : Object
エンジンへのイベント ソースを返します。

参照

関連項目

IVsaSite インターフェイス

Microsoft.Vsa 名前空間