IDTSPath100 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public interface class IDTSPath100 : Microsoft::SqlServer::Dts::Pipeline::Wrapper::Sql2012::IDTSObject100
[System.Runtime.InteropServices.Guid("E25E234C-0F9A-4A2D-93A8-1AA097E6355C")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
public interface IDTSPath100 : Microsoft.SqlServer.Dts.Pipeline.Wrapper.Sql2012.IDTSObject100
[<System.Runtime.InteropServices.Guid("E25E234C-0F9A-4A2D-93A8-1AA097E6355C")>]
[<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 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
public IDTSPath100 EstablishPath( MainPipe mp , IDTSOutput100 start , IDTSInput100 end )
{
IDTSPath100 path = mp.PathCollection.New();
path.AttachPathAndPropagateNotifications( start, end );
return path;
}
注解
创建路径对象用于在上游组件的 与IDTSInput100另一个组件的 之间建立IDTSOutput100数据流。 路径包含表示为 的 StartPoint单个输出对象和单个输入(即 EndPoint 路径的 )。 两个组件之间的路径在两个步骤中建立。 首先,通过在 IDTSComponentMetaData100 对象的路径集合上调用 New 来创建路径。 其次,通过在路径本身上调用 AttachPathAndPropagateNotifications 来建立路径。 此方法建立路径,并通知受影响的组件其存在。
随后通过调用 将 的StartPoint列映射到 EndPoint 。SetUsageType
属性
Description | |
EndPoint | |
ID | |
IdentificationString | |
Name | |
ObjectType | |
StartPoint | |
Visualized |
方法
AttachPathAndPropagateNotifications(IDTSOutput100, IDTSInput100) |