共用方式為


Application.PipelineComponentInfos Property

Returns a PipelineComponentInfos collection that contains PipelineComponentInfo objects.

命名空間: Microsoft.SqlServer.Dts.Runtime
組件: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)

語法

'宣告
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

屬性值

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

範例

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

執行緒安全性

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.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

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