Metoda IDTSEventInfos100.Add
Ten interfejs API obsługuje infrastrukturę programu i nie jest przeznaczony do użycia bezpośrednio w kodzie.
Aby uzyskać więcej informacji, zobacz temat EventInfos.
Przestrzeń nazw: Microsoft.SqlServer.Dts.Runtime.Wrapper
Zestaw: Microsoft.SqlServer.DTSRuntimeWrap (w Microsoft.SqlServer.DTSRuntimeWrap.dll)
Składnia
'Deklaracja
Sub Add ( _
EventName As String, _
Description As String, _
AllowEventHandlers As Boolean, _
ByRef ParamNames As String(), _
ByRef ParamTypes As UShort(), _
ByRef ParamDescs As String() _
)
'Użycie
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[]
)
Parametry
- EventName
Typ: System.String
- Description
Typ: System.String
- AllowEventHandlers
Typ: System.Boolean
- ParamNames
Typ: array<System.String[]%
- ParamTypes
Typ: array<System.UInt16[]%
- ParamDescs
Typ: array<System.String[]%
Zobacz także