共用方式為


IDTSEventHandlers100.Add(String) Method

Definition

Adds a new event to the collection.

public:
 Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSEventHandler100 ^ Add(System::String ^ EventName);
[System.Runtime.InteropServices.DispId(2)]
public Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEventHandler100 Add (string EventName);
[<System.Runtime.InteropServices.DispId(2)>]
abstract member Add : string -> Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEventHandler100
Public Function Add (EventName As String) As IDTSEventHandler100

Parameters

EventName
String

The name of the event to add to the collection.

Returns

The IDTSEventHandler100 object that was added to the collection.

Attributes

Remarks

For more information, see DtsEventHandlers.

Applies to