共用方式為


Application.PipelineComponentInfos Property

Definition

Returns a PipelineComponentInfos collection that contains PipelineComponentInfo objects.

public:
 property Microsoft::SqlServer::Dts::Runtime::PipelineComponentInfos ^ PipelineComponentInfos { Microsoft::SqlServer::Dts::Runtime::PipelineComponentInfos ^ get(); };
public Microsoft.SqlServer.Dts.Runtime.PipelineComponentInfos PipelineComponentInfos { get; }
member this.PipelineComponentInfos : Microsoft.SqlServer.Dts.Runtime.PipelineComponentInfos
Public ReadOnly Property PipelineComponentInfos As PipelineComponentInfos

Property Value

A PipelineComponentInfos collection that contains all the PipelineComponentInfo objects for the application. This property is read-only.

Examples

The following code example shows how to enumerate through the PipelineComponentInfos collection.

class ApplicationTests
    {
        static void Main(string[] args)
        {
            Application app = new Application();
            PipelineComponentInfos pcis = app.PipelineComponentInfos;
            foreach (PipelineComponentInfo x in pcis)
                Console.WriteLine(x.CreationName);
        }
    }
class ApplicationTests
    Sub Main(ByVal args() As String)
        Dim app As Application =  New Application() 
        Dim pcis As PipelineComponentInfos =  app.PipelineComponentInfos 
        For Each x As PipelineComponentInfo In pcis
            Console.WriteLine(x.CreationName)
        Next
    End Sub
End Class

Sample Output:

DTSTransform.Merge.1

DTSTransform.MergeJoin.1

DTSTransform.Lookup.1

DTSTransform.Lineage.1

DTSTransform.RowSampling.1

DTSAdapter.OLEDBSource.1

DTSTransform.CharacterMap.1

DTSTransform.GroupDups.1

Microsoft.SqlServer.Dts.Pipeline.DataReaderSourceAdapter, Microsoft.SqlServer.ADONETSrc, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91

Microsoft.SqlServer.Dts.Pipeline.DataReaderDestinationAdapter, Microsoft.SqlServer.DataReaderDest, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91

Applies to