Partager via


Méthode IDTSEventHandlers100.Add

Cette API prend en charge l'infrastructure SQL Server 2012 et n'est pas destinée à être utilisée directement à partir de votre code.

Adds a new event to the collection.

Espace de noms :  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly :  Microsoft.SqlServer.DTSRuntimeWrap (en Microsoft.SqlServer.DTSRuntimeWrap.dll)

Syntaxe

'Déclaration
Function Add ( _
    EventName As String _
) As IDTSEventHandler100
'Utilisation
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

Paramètres

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

Valeur de retour

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

Notes

For more information, see DtsEventHandlers.

Voir aussi

Référence

IDTSEventHandlers100 Interface

Espace de noms Microsoft.SqlServer.Dts.Runtime.Wrapper