共用方式為


IDTSPathCollection100.RemoveAll Method

Definition

Deletes every IDTSPath100 object in a collection.

public:
 void RemoveAll();
[System.Runtime.InteropServices.DispId(18)]
public void RemoveAll ();
[<System.Runtime.InteropServices.DispId(18)>]
abstract member RemoveAll : unit -> unit
Public Sub RemoveAll ()
Attributes

Remarks

Clearing the collection does not delete the IDTSOutput100 and IDTSInput100 objects represented by the StartPoint and EndPoint properties; instead, it disconnects the flow of data between the components.

The component sourcing the IDTSInput100 object is notified of the deletion of the path through the OnInputPathDetached method. This allows the component to remove the IDTSInputColumn100 objects from the collection because they no longer represent the columns of the upstream component.

Applies to