IDTSPath100 Interfaz

Definición

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
Atributos
Implementaciones

Ejemplos

El siguiente ejemplo de código demuestra cómo crear un nuevo IDTSPath100 objeto y luego adjuntar la salida del componente ascendente a la entrada del componente posterior.

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  

Comentarios

Los objetos de camino se crean para establecer el flujo de datos entre el IDTSOutput100 de un componente aguas arriba y el IDTSInput100 de otro componente. Un camino contiene un único objeto de salida representado como el StartPoint, y una única entrada, que es el EndPoint del camino. Se establece un camino entre dos componentes en un proceso de dos pasos. Primero, crea el camino invocando New la colección de caminos del IDTSComponentMetaData100 objeto. Segundo, establece el camino invocando AttachPathAndPropagateNotifications el propio camino. Este método establece el camino y notifica los componentes afectados de su existencia.

Las columnas de la StartPoint se mapean posteriormente a la EndPoint llamando SetUsageTypea .

Se aplica a