IDTSPath100 Interfaz

Definición

Representa una conexión entre dos componentes.

public interface class IDTSPath100 : Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSObject100
[System.Runtime.InteropServices.Guid("6B300A02-5EE0-4E86-8E52-5309197D4A6A")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
public interface IDTSPath100 : Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSObject100
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
[System.Runtime.InteropServices.Guid("B6958407-AA8A-44E5-BD05-9FBEAD54E641")]
public interface IDTSPath100 : Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSObject100
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
[System.Runtime.InteropServices.Guid("4256D17F-7FD3-49F4-8764-0C16B29CD442")]
public interface IDTSPath100 : Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSObject100
[<System.Runtime.InteropServices.Guid("6B300A02-5EE0-4E86-8E52-5309197D4A6A")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
type IDTSPath100 = interface
    interface IDTSObject100
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
[<System.Runtime.InteropServices.Guid("B6958407-AA8A-44E5-BD05-9FBEAD54E641")>]
type IDTSPath100 = interface
    interface IDTSObject100
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
[<System.Runtime.InteropServices.Guid("4256D17F-7FD3-49F4-8764-0C16B29CD442")>]
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

Obtiene o establece la descripción del objeto IDTSPath100.

EndPoint

Obtiene o establece el objeto IDTSInput100 asociado a una ruta.

ID

Obtiene o establece el identificador de un objeto IDTSPath100.

IdentificationString

Obtiene una cadena única que identifica un objeto IDTSPath100.

Name

Obtiene o establece el identificador de cadena de un objeto IDTSPath100.

ObjectType

Devuelve un valor de la enumeración DTSObjectType.

StartPoint

Obtiene o establece el objeto IDTSOutput100 asociado a una ruta.

Visualized

Establece un valor que indica que el usuario ha asociado un visor de datos a esta ruta de acceso en el Diseñador de SSIS.

Métodos

AttachPathAndPropagateNotifications(IDTSOutput100, IDTSInput100)

Establece una ruta de acceso entre dos componentes y lo notifica a los componentes afectados.

Se aplica a