IDTSPath100 Interfaz
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
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
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 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 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 de rutas de acceso del IDTSComponentMetaData100 objeto . 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 EndPoint mediante una llamada a SetUsageType.
Propiedades
Description | |
EndPoint | |
ID | |
IdentificationString | |
Name | |
ObjectType | |
StartPoint | |
Visualized |
Métodos
AttachPathAndPropagateNotifications(IDTSOutput100, IDTSInput100) |