次の方法で共有


IDTSInput100 インターフェイス

実行時に PipelineBuffer オブジェクトの形式でコンポーネントに提供されたデータを表す列のコレクションが含まれます。

名前空間:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
アセンブリ:  Microsoft.SqlServer.DTSPipelineWrap (Microsoft.SqlServer.DTSPipelineWrap.dll)

構文

'宣言
<GuidAttribute("24C64129-7317-4E2F-AAF2-80964796E3AE")> _
Public Interface IDTSInput100 _
    Inherits IDTSObject100
'使用
Dim instance As IDTSInput100
[GuidAttribute("24C64129-7317-4E2F-AAF2-80964796E3AE")]
public interface IDTSInput100 : IDTSObject100
[GuidAttribute(L"24C64129-7317-4E2F-AAF2-80964796E3AE")]
public interface class IDTSInput100 : IDTSObject100
[<GuidAttribute("24C64129-7317-4E2F-AAF2-80964796E3AE")>]
type IDTSInput100 =  
    interface
        interface IDTSObject100
    end
public interface IDTSInput100 extends IDTSObject100

説明

IDTSInput100 オブジェクトは、2 つのコンポーネント間の接続ポイントを表し、上流コンポーネントの IDTSOutput100 に接続されると、2 つのコンポーネント間のデータのフローを確立します。IDTSInput100 と IDTSOutput100 間の接続は、IDTSPath100 オブジェクトを介して確立されます。入力は、IDTSPath100 オブジェクトの EndPoint プロパティを表します。

デザイン時に、入力の接続先である出力の IDTSOutputColumnCollection100 の列は、コンポーネントで使用するために選択されます。これらの列は、コンポーネントの実行時にコンポーネントで利用できるようになります。

使用例

次のコード例では、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