IDTSPath100 接口

定义

public interface class IDTSPath100 : Microsoft::SqlServer::Dts::Pipeline::Wrapper::Sql2014::IDTSObject100
[System.Runtime.InteropServices.Guid("7BD99105-F435-4265-83DA-BC0023CC293C")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
public interface IDTSPath100 : Microsoft.SqlServer.Dts.Pipeline.Wrapper.Sql2014.IDTSObject100
[<System.Runtime.InteropServices.Guid("7BD99105-F435-4265-83DA-BC0023CC293C")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
type IDTSPath100 = interface
    interface IDTSObject100
Public Interface IDTSPath100
Implements IDTSObject100
属性
实现

示例

下面的代码示例演示如何创建新 IDTSPath100 对象,然后将上游组件的输出附加到下游组件的输入。

public IDTSPath100 EstablishPath( MainPipe mp , IDTSOutput100 start , IDTSInput100 end )  
{  
IDTSPath100 path = mp.PathCollection.New();  
path.AttachPathAndPropagateNotifications( start, end );  
return path;  
}  
Public Function EstablishPath(ByVal mp As MainPipe, ByVal start As IDTSOutput100, ByVal end As IDTSInput100) As IDTSPath100   
 Dim path As IDTSPath100 = mp.PathCollection.New   
 path.AttachPathAndPropagateNotifications(start, end)   
 Return path   
End Function  

注解

创建路径对象以在上游组件与IDTSInput100另一个组件之间建立IDTSOutput100数据流。 路径包含表示为 StartPoint 的单个输出对象, EndPoint 以及一个作为路径的输入。 两个组件之间的路径是在两步过程中建立的。 首先,通过调用 New 对象的路径集合 IDTSComponentMetaData100 来创建路径。 其次,通过调用 AttachPathAndPropagateNotifications 路径本身来建立路径。 此方法建立路径,并通知其存在受影响的组件。

随后通过调用SetUsageType将列映射到该EndPointStartPoint

属性

Description
EndPoint
ID
IdentificationString
Name
ObjectType
StartPoint
Visualized

方法

AttachPathAndPropagateNotifications(IDTSOutput100, IDTSInput100)

适用于