Freigeben über


IDTSEventHandlers100.Add-Methode

Diese API unterstützt die SQL Server 2012-Infrastruktur und ist nicht zur direkten Verwendung im Code bestimmt.

Adds a new event to the collection.

Namespace:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly:  Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)

Syntax

'Declaration
Function Add ( _
    EventName As String _
) As IDTSEventHandler100
'Usage
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

Parameter

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

Rückgabewert

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

Hinweise

For more information, see DtsEventHandlers.

Siehe auch

Verweis

IDTSEventHandlers100 Schnittstelle

Microsoft.SqlServer.Dts.Runtime.Wrapper-Namespace