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 ,則建立元件間的資料流動。 IDTSInput100 與 之間的 IDTSOutput100 連結會透過物件 IDTSPath100 建立。 輸入代表 EndPoint 物件的 IDTSPath100 性質。

在設計時, IDTSOutputColumnCollection100 輸入所連接的輸出欄位會被選中供元件使用。 這些欄位在元件執行時即可取得。

適用於