Add 方法

此 API 支持 基础结构,但不能通过代码直接使用。

For more information, see EventInfos.

命名空间:  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[]
)

参数