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::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 .
Propiedades
| Nombre | Description |
|---|---|
| Description | |
| EndPoint | |
| ID | |
| IdentificationString | |
| Name | |
| ObjectType | |
| StartPoint | |
| Visualized | |
Métodos
| Nombre | Description |
|---|---|
| AttachPathAndPropagateNotifications(IDTSOutput100, IDTSInput100) | |