IDTSInput100 接口

定义

public interface class IDTSInput100 : Microsoft::SqlServer::Dts::Pipeline::Wrapper::Sql2014::IDTSObject100
[System.Runtime.InteropServices.Guid("A835ED14-7535-42F7-A165-A11E7C409817")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
public interface IDTSInput100 : Microsoft.SqlServer.Dts.Pipeline.Wrapper.Sql2014.IDTSObject100
[<System.Runtime.InteropServices.Guid("A835ED14-7535-42F7-A165-A11E7C409817")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
type IDTSInput100 = interface
    interface IDTSObject100
Public Interface IDTSInput100
Implements IDTSObject100
属性
实现

示例

以下代码示例演示了一个组件在方法 ProvideComponentProperties 中向其集合添加输入。

using System;  
using Microsoft.SqlServer.Dts.Pipeline;  
public class DtsSampleComponent : PipelineComponent  
{   
public override void ProvideComponentProperties()  
{  
IDTSInput100 input = ComponentMetaData.InputCollection.New();  
input.Name = "SampleComponentInput0";  
}  
}  
Imports System   
Imports Microsoft.SqlServer.Dts.Pipeline   

Public Class DtsSampleComponent   
Inherits PipelineComponent   

 Public Overloads Overrides Sub ProvideComponentProperties()   
   Dim input As IDTSInput100 = ComponentMetaData.InputCollection.New   
   input.Name = "SampleComponentInput0"   
 End Sub   
End Class  

注解

IDTSInput100对象表示两个组件之间的连接点,当连接到上游组件时 IDTSOutput100 ,建立组件间的数据流动。 通过该IDTSPath100对象建立IDTSInput100与与的IDTSOutput100连接。 输入代表 EndPoint 对象的 IDTSPath100 属性。

在设计时,输入连接的输出中的列 IDTSOutputColumnCollection100 被选中供组件使用。 这些列随后在组件执行过程中可供组件调用。

适用于