Udostępnij za pośrednictwem


Application.PipelineComponentInfos Property

Returns a PipelineComponentInfos collection that contains PipelineComponentInfo objects.

Namespace: Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)

Syntax

'Declaration
Public ReadOnly Property PipelineComponentInfos As PipelineComponentInfos
public PipelineComponentInfos PipelineComponentInfos { get; }
public:
property PipelineComponentInfos^ PipelineComponentInfos {
    PipelineComponentInfos^ get ();
}
/** @property */
public PipelineComponentInfos get_PipelineComponentInfos ()
public function get PipelineComponentInfos () : PipelineComponentInfos

Property Value

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

Example

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=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91

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

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

Application Class
Application Members
Microsoft.SqlServer.Dts.Runtime Namespace