共用方式為


OnInputPathAttached 方法

Called when an IDTSInput100 object is connected to another component through the IDTSPath100 interface.

命名空間:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
組件:  Microsoft.SqlServer.DTSPipelineWrap (在 Microsoft.SqlServer.DTSPipelineWrap.dll 中)

語法

'宣告
Sub OnInputPathAttached ( _
    lInputID As Integer _
)
'用途
Dim instance As IDTSDesigntimeComponent100
Dim lInputID As Integer

instance.OnInputPathAttached(lInputID)
void OnInputPathAttached(
    int lInputID
)
void OnInputPathAttached(
    [InAttribute] int lInputID
)
abstract OnInputPathAttached : 
        lInputID:int -> unit 
function OnInputPathAttached(
    lInputID : int
)

參數

備註

This method is called when a path is established between the IDTSInput100 identified by the lInputID parameter and the IDTSOutput100 of an upstream component.

When programmatically establishing a path between two components, the AttachPathAndPropagateNotifications method is used to establish a path, and in response, the data flow engine calls this method on the affected components.