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.