IDTSPath100 Interface

Definição

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
Implementações

Exemplos

O exemplo de código a seguir demonstra como criar um novo IDTSPath100 objeto e anexar a saída do componente upstream à entrada do componente downstream.

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  

Comentários

Objetos path são criados para estabelecer o fluxo de dados entre o IDTSOutput100 de um componente upstream e o IDTSInput100 de outro componente. Um caminho contém um único objeto de saída representado como a StartPointentrada e uma única entrada, que é o EndPoint caminho. Um caminho entre dois componentes é estabelecido em um processo de duas etapas. Primeiro, crie o caminho chamando New a coleção de caminhos do IDTSComponentMetaData100 objeto. Em segundo lugar, estabeleça o caminho chamando AttachPathAndPropagateNotifications o próprio caminho. Esse método estabelece o caminho e notifica os componentes afetados de sua existência.

As colunas do StartPoint são mapeadas posteriormente para a EndPoint chamada SetUsageType.

Propriedades

Description
EndPoint
ID
IdentificationString
Name
ObjectType
StartPoint
Visualized

Métodos

AttachPathAndPropagateNotifications(IDTSOutput100, IDTSInput100)

Aplica-se a