Compartir a través de


IDTSEventHandlers100.Add Método

Esta API admite la infraestructura de SQL Server 2012 y no está prevista su utilización directa desde el código.

Adds a new event to the collection.

Espacio de nombres:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Ensamblado:  Microsoft.SqlServer.DTSRuntimeWrap (en Microsoft.SqlServer.DTSRuntimeWrap.dll)

Sintaxis

'Declaración
Function Add ( _
    EventName As String _
) As IDTSEventHandler100
'Uso
Dim instance As IDTSEventHandlers100 
Dim EventName As String 
Dim returnValue As IDTSEventHandler100 

returnValue = instance.Add(EventName)
IDTSEventHandler100 Add(
    string EventName
)
IDTSEventHandler100^ Add(
    [InAttribute] String^ EventName
)
abstract Add : 
        EventName:string -> IDTSEventHandler100
function Add(
    EventName : String
) : IDTSEventHandler100

Parámetros

  • EventName
    Tipo: System.String
    The name of the event to add to the collection.

Valor devuelto

Tipo: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEventHandler100
The IDTSEventHandler100 object that was added to the collection.

Comentarios

For more information, see DtsEventHandlers.

Vea también

Referencia

IDTSEventHandlers100 Interfaz

Espacio de nombres Microsoft.SqlServer.Dts.Runtime.Wrapper