IDTSPath100 Interface
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
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, em seguida, anexar a saída do componente a montante à entrada do componente a jusante.
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 de um componente a montante e o IDTSInput100 de outro componente. Um caminho contém um único objeto de saída representado como o StartPoint, e uma única entrada, que é o EndPoint do caminho. Um caminho entre dois componentes é estabelecido em um processo de duas etapas. Primeiro, crie o caminho invocando New a coleção de caminhos do IDTSComponentMetaData100 objeto. Segundo, estabeleça o caminho invocando AttachPathAndPropagateNotifications o próprio caminho. Esse método estabelece o caminho e notifica os componentes afetados de sua existência.
As colunas de são StartPoint subsequentemente mapeadas para o EndPoint chamando SetUsageType.
Propriedades
| Nome | Description |
|---|---|
| Description | |
| EndPoint | |
| ID | |
| IdentificationString | |
| Name | |
| ObjectType | |
| StartPoint | |
| Visualized | |
Métodos
| Nome | Description |
|---|---|
| AttachPathAndPropagateNotifications(IDTSOutput100, IDTSInput100) | |