Поделиться через


IDTSInput90 Interface

Contains the collection of columns that represents the data provided to a component in the form of PipelineBuffer objects at run time.

Пространство имен: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Сборка: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)

Синтаксис

'Декларация
<TypeLibTypeAttribute(4160)> _
<GuidAttribute("212BA47D-840D-4004-9747-6FB6D80EE47B")> _
Public Interface IDTSInput90
    Inherits IDTSObject90
[TypeLibTypeAttribute(4160)] 
[GuidAttribute("212BA47D-840D-4004-9747-6FB6D80EE47B")] 
public interface IDTSInput90 : IDTSObject90
[TypeLibTypeAttribute(4160)] 
[GuidAttribute(L"212BA47D-840D-4004-9747-6FB6D80EE47B")] 
public interface class IDTSInput90 : IDTSObject90
/** @attribute TypeLibTypeAttribute(4160) */ 
/** @attribute GuidAttribute("212BA47D-840D-4004-9747-6FB6D80EE47B") */ 
public interface IDTSInput90 extends IDTSObject90
TypeLibTypeAttribute(4160) 
GuidAttribute("212BA47D-840D-4004-9747-6FB6D80EE47B") 
public interface IDTSInput90 extends IDTSObject90

Замечания

The IDTSInput90 object represents a connection point between two components, and, when connected to the IDTSOutput90 of an upstream component, establishes the flow of data between components. A connection between an IDTSInput90 and an IDTSOutput90 is established through the IDTSPath90 object. The input represents the EndPoint property of the IDTSPath90 object.

At design time, the columns in the IDTSOutputColumnCollection90 of the output that the input is connected to are selected for use by the component. These columns are then available to the component during component execution.

Пример

The following code example demonstrates a component adding an input to its collection in the ProvideComponentProperties method.

using System;
using Microsoft.SqlServer.Dts.Pipeline;
public class DtsSampleComponent : PipelineComponent
{ 
public override void ProvideComponentProperties()
{
IDTSInput90 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 IDTSInput90 = ComponentMetaData.InputCollection.New 
   input.Name = "SampleComponentInput0" 
 End Sub 
End Class

Платформы

Платформы разработки

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

Целевые платформы

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

См. также

Справочник

IDTSInput90 Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace