IDTSPath100 Interfaz

Definición

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
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 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;  
}  

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 la ruta llamando a New en la colección de rutas del objeto IDTSComponentMetaData100. 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