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

En el ejemplo de código siguiente se muestra cómo crear un nuevo IDTSPath100 objeto y, a continuación, adjuntar la salida del componente ascendente a la entrada del componente de bajada.

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 path se crean para establecer el flujo de datos entre el IDTSOutput100 de un componente ascendente y el IDTSInput100 de otro componente. Una ruta de acceso contiene un único objeto de salida representado como StartPoint, y una única entrada, que es la EndPoint de la ruta de acceso. Una ruta de acceso entre dos componentes se establece en un proceso de dos pasos. En primer lugar, cree la ruta de acceso llamando a New en la colección path del objeto IDTSComponentMetaData100. En segundo lugar, establezca la ruta de acceso llamando AttachPathAndPropagateNotifications a en la propia ruta de acceso. Este método establece la ruta de acceso y notifica a los componentes afectados de su existencia.

Las columnas de StartPoint se asignan posteriormente a mediante una llamada a EndPointSetUsageType.

Propiedades

Description
EndPoint
ID
IdentificationString
Name
ObjectType
StartPoint
Visualized

Métodos

AttachPathAndPropagateNotifications(IDTSOutput100, IDTSInput100)

Se aplica a