IDTSPath100 Interfaccia

Definizione

public interface class IDTSPath100 : Microsoft::SqlServer::Dts::Pipeline::Wrapper::Sql2012::IDTSObject100
[System.Runtime.InteropServices.Guid("E25E234C-0F9A-4A2D-93A8-1AA097E6355C")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
public interface IDTSPath100 : Microsoft.SqlServer.Dts.Pipeline.Wrapper.Sql2012.IDTSObject100
[<System.Runtime.InteropServices.Guid("E25E234C-0F9A-4A2D-93A8-1AA097E6355C")>]
[<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 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  
public IDTSPath100 EstablishPath( MainPipe mp , IDTSOutput100 start , IDTSInput100 end )  
{  
IDTSPath100 path = mp.PathCollection.New();  
path.AttachPathAndPropagateNotifications( start, end );  
return path;  
}  

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 sulla raccolta di 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