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

Nell'esempio di codice seguente viene illustrato come creare un nuovo IDTSPath100 oggetto e quindi collegare l'output del componente upstream all'input del componente downstream.

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 vengono creati per stabilire il flusso di dati tra l'oggetto IDTSOutput100 di un componente upstream e l'oggetto IDTSInput100 di un altro componente. Un percorso contiene un singolo oggetto di output rappresentato come StartPointe un singolo input, ovvero il EndPoint del percorso. Un percorso tra due componenti viene stabilito in un processo in due passaggi. Per prima cosa, creare il percorso chiamando New sulla raccolta di percorsi dell'oggetto IDTSComponentMetaData100 . In secondo luogo, stabilire il percorso chiamando AttachPathAndPropagateNotifications sul percorso stesso. Questo metodo stabilisce il percorso e ne notifica l'esistenza ai componenti interessati.

Le colonne di StartPoint vengono successivamente mappate a EndPoint chiamando SetUsageType.

Proprietà

Description
EndPoint
ID
IdentificationString
Name
ObjectType
StartPoint
Visualized

Metodi

AttachPathAndPropagateNotifications(IDTSOutput100, IDTSInput100)

Si applica a