Właściwość Application.PipelineComponentInfos
Zwraca PipelineComponentInfos kolekcja, która zawiera PipelineComponentInfo obiektów.
Przestrzeń nazw: Microsoft.SqlServer.Dts.Runtime
Zestaw: Microsoft.SqlServer.ManagedDTS (w Microsoft.SqlServer.ManagedDTS.dll)
Składnia
'Deklaracja
Public ReadOnly Property PipelineComponentInfos As PipelineComponentInfos
Get
'Użycie
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
Wartość właściwości
Typ: Microsoft.SqlServer.Dts.Runtime.PipelineComponentInfos
A PipelineComponentInfos kolekcja, która zawiera wszystkie PipelineComponentInfo obiektów aplikacji.Ta właściwość jest tylko do odczytu.
Przykłady
Poniższy przykład kodu pokazuje jak wyliczyć przez PipelineComponentInfos kolekcja.
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
Przykładowe dane wyjściowe:
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