IDTSPath100 Interface

Definição

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
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 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;  
}  

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 , StartPointe uma única entrada, que é o EndPoint do caminho. Um caminho entre dois componentes é estabelecido em um processo de duas etapas. Primeiro, crie o caminho chamando Novo na coleção path do objeto IDTSComponentMetaData100. Em segundo lugar, estabeleça o caminho chamando AttachPathAndPropagateNotifications no 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 o EndPoint chamando SetUsageType.

Propriedades

Description
EndPoint
ID
IdentificationString
Name
ObjectType
StartPoint
Visualized

Métodos

AttachPathAndPropagateNotifications(IDTSOutput100, IDTSInput100)

Aplica-se a