IDTSInput100 Interfaccia

Definizione

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
Attributi
Implementazioni

Esempio

Il seguente esempio di codice mostra un componente che aggiunge un input alla sua collezione nel ProvideComponentProperties metodo.

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  

Commenti

L'oggetto IDTSInput100 rappresenta un punto di connessione tra due componenti e, quando collegato a un IDTSOutput100 componente a monte, stabilisce il flusso di dati tra i componenti. Una connessione tra un IDTSInput100 e un IDTSOutput100 viene stabilita tramite l'oggetto IDTSPath100 . L'input rappresenta la EndPoint proprietà dell'oggetto IDTSPath100 .

Al momento della progettazione, le colonne dell'uscita IDTSOutputColumnCollection100 a cui l'ingresso è collegato vengono selezionate per l'uso da parte del componente. Queste colonne sono quindi disponibili per il componente durante l'esecuzione del componente.

Si applica a