Share via


IDTSPath100 Interface

Definição

Representa uma conexão entre dois 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
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 de caminho são criados para estabelecer o fluxo de dados entre o IDTSOutput100 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

Obtém ou define a descrição do objeto IDTSPath100.

EndPoint

Obtém ou define o objeto IDTSInput100 associado a um caminho.

ID

Obtém ou define a ID de um objeto IDTSPath100.

IdentificationString

Obtém uma cadeia de caracteres exclusiva que identifica um objeto IDTSPath100.

Name

Obtém ou define o identificador da cadeia de caracteres de um objeto IDTSPath100.

ObjectType

Retorna um valor da enumeração DTSObjectType.

StartPoint

Obtém ou define o objeto IDTSOutput100 associado a um caminho.

Visualized

Define um valor que indica que o usuário anexou um visualizador de dados a esse caminho no Designer do SSIS.

Métodos

AttachPathAndPropagateNotifications(IDTSOutput100, IDTSInput100)

Estabelece um caminho entre dois componentes e notifica os componentes afetados.

Aplica-se a