Метод IDTSEventHandlers100.Add
Этот API-интерфейс поддерживает инфраструктуру SQL Server 2012 и не предназначен для использования непосредственно из кода.
Adds a new event to the collection.
Пространство имен: Microsoft.SqlServer.Dts.Runtime.Wrapper
Сборка: Microsoft.SqlServer.DTSRuntimeWrap (в Microsoft.SqlServer.DTSRuntimeWrap.dll)
Синтаксис
'Декларация
Function Add ( _
EventName As String _
) As IDTSEventHandler100
'Применение
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
Параметры
- EventName
Тип: System.String
The name of the event to add to the collection.
Возвращаемое значение
Тип: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEventHandler100
The IDTSEventHandler100 object that was added to the collection.
Замечания
For more information, see DtsEventHandlers.