IDTSEventHandlers100.Add Method
This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.
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
Parameters
- EventName
Type: System.String
The name of the event to add to the collection.
Return Value
Type: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEventHandler100
The IDTSEventHandler100 object that was added to the collection.
Remarks
For more information, see DtsEventHandlers.