IDTSPath100 Interfaccia

Definizione

public interface class IDTSPath100 : Microsoft::SqlServer::Dts::Pipeline::Wrapper::Sql2014::IDTSObject100
[System.Runtime.InteropServices.Guid("7BD99105-F435-4265-83DA-BC0023CC293C")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
public interface IDTSPath100 : Microsoft.SqlServer.Dts.Pipeline.Wrapper.Sql2014.IDTSObject100
[<System.Runtime.InteropServices.Guid("7BD99105-F435-4265-83DA-BC0023CC293C")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
type IDTSPath100 = interface
    interface IDTSObject100
Public Interface IDTSPath100
Implements IDTSObject100
Attributi
Implementazioni

Esempio

Il seguente esempio di codice dimostra come creare un nuovo IDTSPath100 oggetto e poi collegare l'output del componente a monte all'input del componente a valle.

public IDTSPath100 EstablishPath( MainPipe mp , IDTSOutput100 start , IDTSInput100 end )  
{  
IDTSPath100 path = mp.PathCollection.New();  
path.AttachPathAndPropagateNotifications( start, end );  
return path;  
}  
Public Function EstablishPath(ByVal mp As MainPipe, ByVal start As IDTSOutput100, ByVal end As IDTSInput100) As IDTSPath100   
 Dim path As IDTSPath100 = mp.PathCollection.New   
 path.AttachPathAndPropagateNotifications(start, end)   
 Return path   
End Function  

Commenti

Gli oggetti path sono creati per stabilire il flusso di dati tra il IDTSOutput100 di un componente a monte e il IDTSInput100 di un altro componente. Un percorso contiene un singolo oggetto di uscita rappresentato come , StartPointe un singolo input, che è il EndPoint del cammino. Un percorso tra due componenti viene stabilito in un processo in due fasi. Per prima cosa, crea il percorso chiamando New la raccolta del percorso dell'oggetto IDTSComponentMetaData100 . In secondo luogo, stabilisci il percorso invocando AttachPathAndPropagateNotifications il sentiero stesso. Questo metodo stabilisce il percorso e notifica i componenti coinvolti nella sua esistenza.

Le colonne del StartPoint sono successivamente mappate nel EndPoint chiamando SetUsageType.

Si applica a