Compartir a través de


IDTSPath90 Interface

Represents a connection between two components.

Espacio de nombres: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Ensamblado: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)

Sintaxis

'Declaración
<TypeLibTypeAttribute(4160)> _
<GuidAttribute("CBEA73B4-08DA-4FE7-A03A-829345CAEB84")> _
Public Interface IDTSPath90
    Inherits IDTSObject90
[TypeLibTypeAttribute(4160)] 
[GuidAttribute("CBEA73B4-08DA-4FE7-A03A-829345CAEB84")] 
public interface IDTSPath90 : IDTSObject90
[TypeLibTypeAttribute(4160)] 
[GuidAttribute(L"CBEA73B4-08DA-4FE7-A03A-829345CAEB84")] 
public interface class IDTSPath90 : IDTSObject90
/** @attribute TypeLibTypeAttribute(4160) */ 
/** @attribute GuidAttribute("CBEA73B4-08DA-4FE7-A03A-829345CAEB84") */ 
public interface IDTSPath90 extends IDTSObject90
TypeLibTypeAttribute(4160) 
GuidAttribute("CBEA73B4-08DA-4FE7-A03A-829345CAEB84") 
public interface IDTSPath90 extends IDTSObject90

Notas

Path objects are created to establish the flow of data between the IDTSOutput90 of an upstream component and the IDTSInput90 of another component. A path contains a single output object represented as the StartPoint, and a single input, which is the EndPoint of the path. A path between two components is established in a two-step process. First, create the path by calling New on the path collection of the IDTSComponentMetaData90 object. Second, establish the path by calling AttachPathAndPropagateNotifications on the path itself. This method establishes the path and notifies the affected components of its existence.

The columns of the StartPoint are subsequently mapped to the EndPoint by calling SetUsageType.

Ejemplo

The following code example demonstrates how to create a new IDTSPath90 object, and then attach the output of the upstream component to the input of the downstream component.

public IDTSPath90 EstablishPath( MainPipe mp , IDTSOutput90 start , IDTSInput90 end )
{
IDTSPath90 path = mp.PathCollection.New();
path.AttachPathAndPropagateNotifications( start, end );
return path;
}
Public Function EstablishPath(ByVal mp As MainPipe, ByVal start As IDTSOutput90, ByVal end As IDTSInput90) As IDTSPath90 
 Dim path As IDTSPath90 = mp.PathCollection.New 
 path.AttachPathAndPropagateNotifications(start, end) 
 Return path 
End Function

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

IDTSPath90 Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace