IDTSInput100 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
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 组件之间建立数据流。 IDTSInput100 和之间的连接 IDTSOutput100 是通过对象建立的 IDTSPath100 。 输入表示对象的 EndPoint 属性 IDTSPath100 。
在设计时, IDTSOutputColumnCollection100 选择了输入连接到的输出中的列以供组件使用。 然后,在组件执行过程中,这些列将可用于组件。
属性
方法
GetVirtualInput() | |
SuggestNameBasedLineageIDMappings(Int32[], Int32[]) |