Metodo IDTSEventInfos100.Add
Questa API supporta l'infrastruttura SQL Server 2012 e non può essere utilizzata direttamente dal codice.
Adds an IDTSEventInfo100 object to the current collection.
Spazio dei nomi Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly: Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)
Sintassi
'Dichiarazione
Sub Add ( _
EventName As String, _
Description As String, _
AllowEventHandlers As Boolean, _
ByRef ParamNames As String(), _
ByRef ParamTypes As UShort(), _
ByRef ParamDescs As String() _
)
'Utilizzo
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[]
)
Parametri
- EventName
Tipo: System.String
The name of the custom event.
- Description
Tipo: System.String
The description of the event.
- AllowEventHandlers
Tipo: System.Boolean
true to indicate that the event handler objects can be created for the event; otherwise, false.
- ParamNames
Tipo: array<System.String[]%
An array of parameters passed to the event.
- ParamTypes
Tipo: array<System.UInt16[]%
The type of each parameter in the ParamNames array.
- ParamDescs
Tipo: array<System.String[]%
An array that contains descriptions for each of the parameters in ParamNames.
Osservazioni
For more information, see EventInfos.