IDTSEventInfos100.Add メソッド

この API は、SQL Server 2012 インフラストラクチャをサポートします。独自に作成したコードから直接使用するためのものではありません。

現在のコレクションに IDTSEventInfo100 オブジェクトを追加します。

名前空間:  Microsoft.SqlServer.Dts.Runtime.Wrapper
アセンブリ:  Microsoft.SqlServer.DTSRuntimeWrap (Microsoft.SqlServer.DTSRuntimeWrap.dll)

構文

'宣言
Sub Add ( _
    EventName As String, _
    Description As String, _
    AllowEventHandlers As Boolean, _
    ByRef ParamNames As String(), _
    ByRef ParamTypes As UShort(), _
    ByRef ParamDescs As String() _
)
'使用
Dim instance As IDTSEventInfos100 
Dim EventName As String 
Dim Description As String 
Dim AllowEventHandlers As Boolean 
Dim ParamNames As String()
Dim ParamTypes As UShort()
Dim ParamDescs As String()

instance.Add(EventName, Description, AllowEventHandlers, _
    ParamNames, ParamTypes, ParamDescs)
void Add(
    string EventName,
    string Description,
    bool AllowEventHandlers,
    ref string[] ParamNames,
    ref ushort[] ParamTypes,
    ref string[] ParamDescs
)
void Add(
    [InAttribute] String^ EventName, 
    [InAttribute] String^ Description, 
    [InAttribute] bool AllowEventHandlers, 
    [InAttribute] array<String^>^% ParamNames, 
    [InAttribute] array<unsigned short>^% ParamTypes, 
    [InAttribute] array<String^>^% ParamDescs
)
abstract Add : 
        EventName:string * 
        Description:string * 
        AllowEventHandlers:bool * 
        ParamNames:string[] byref * 
        ParamTypes:uint16[] byref * 
        ParamDescs:string[] byref -> unit
function Add(
    EventName : String, 
    Description : String, 
    AllowEventHandlers : boolean, 
    ParamNames : String[], 
    ParamTypes : ushort[], 
    ParamDescs : String[]
)

パラメーター

  • EventName
    型: System.String
    カスタム イベントの名前です。
  • AllowEventHandlers
    型: System.Boolean
    イベントにイベント ハンドラー オブジェクトを作成できることを示す場合は true、それ以外の場合は false です。
  • ParamNames
    型: array<System.String[]%
    イベントに渡すパラメーターの配列です。
  • ParamTypes
    型: array<System.UInt16[]%
    ParamNames 配列中の各パラメーターの型です。
  • ParamDescs
    型: array<System.String[]%
    ParamNames 中の各パラメーターの説明を表す配列です。

説明

詳細については、「EventInfos」を参照してください。

関連項目

参照

IDTSEventInfos100 インターフェイス

Microsoft.SqlServer.Dts.Runtime.Wrapper 名前空間