共用方式為


PipelineComponentInfos 屬性

Returns a PipelineComponentInfos collection that contains PipelineComponentInfo objects.

命名空間:  Microsoft.SqlServer.Dts.Runtime
組件:  Microsoft.SqlServer.ManagedDTS (在 Microsoft.SqlServer.ManagedDTS.dll 中)

語法

'宣告
Public ReadOnly Property PipelineComponentInfos As PipelineComponentInfos
    Get
'用途
Dim instance As Application
Dim value As PipelineComponentInfos

value = instance.PipelineComponentInfos
public PipelineComponentInfos PipelineComponentInfos { get; }
public:
property PipelineComponentInfos^ PipelineComponentInfos {
    PipelineComponentInfos^ get ();
}
member PipelineComponentInfos : PipelineComponentInfos
function get PipelineComponentInfos () : PipelineComponentInfos

屬性值

型別:Microsoft.SqlServer.Dts.Runtime. . :: . .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=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