Application.ForEachEnumeratorInfos Property
Returns a ForEachEnumeratorInfos collection that contains ForEachEnumeratorInfo objects. This property is read-only.
Spazio dei nomi: Microsoft.SqlServer.Dts.Runtime
Assembly : Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)
Sintassi
'Dichiarazione
Public ReadOnly Property ForEachEnumeratorInfos As ForEachEnumeratorInfos
public ForEachEnumeratorInfos ForEachEnumeratorInfos { get; }
public:
property ForEachEnumeratorInfos^ ForEachEnumeratorInfos {
ForEachEnumeratorInfos^ get ();
}
/** @property */
public ForEachEnumeratorInfos get_ForEachEnumeratorInfos ()
public function get ForEachEnumeratorInfos () : ForEachEnumeratorInfos
Valore proprietà
A ForEachEnumeratorInfos collection that contains all the ForEachEnumeratorInfo objects in the application.
Esempio
The following code example shows how to enumerate the different ForEach enumerators provided by Integration Services.
class ApplicationTests
{
static void Main(string[] args)
{
Application app = new Application();
ForEachEnumeratorInfos fee = app.ForEachEnumeratorInfos;
foreach(ForEachEnumeratorInfo x in fee)
Console.WriteLine(x.ID);
}
}
class ApplicationTests
Sub Main(ByVal args() As String)
Dim app As Application = New Application()
Dim fee As ForEachEnumeratorInfos = app.ForEachEnumeratorInfos
For Each x As ForEachEnumeratorInfo In fee
Console.WriteLine(x.ID)
Next
End Sub
End Class
Sample Output:
{62C3D0D9-C6A3-4A08-84F3-6028B2452F41}
Microsoft.SqlServer.Dts.Runtime.Enumerators.ADO.ForEachADOEnumerator,
Microsoft.SqlServer.ForEachADOEnumerator, Version=9.0.242.0, Culture=neutral,
PublicKeyToken=89845dcd8080cc91
Microsoft.SqlServer.Dts.Runtime.Enumerators.FromVar.ForEachFromVarEnumerator,
Microsoft.SqlServer.ForEachFromVarEnumerator, Version=9.0.242.0, Culture=neutral,
PublicKeyToken=89845dcd8080cc91
Microsoft.SqlServer.Dts.Runtime.Enumerators.NodeList.ForEachNodeListEnumerator,
Microsoft.SqlServer.ForEachNodeListEnumerator, Version=9.0.242.0, Culture=neutral,
PublicKeyToken=89845dcd8080cc91
Microsoft.SqlServer.Dts.Runtime.Enumerators.SMO.ForEachSMOEnumerator,
Microsoft.SqlServer.ForEachSMOEnumerator, 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.
Piattaforme
Piattaforme di sviluppo
Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.
Piattaforme di destinazione
Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.
Vedere anche
Riferimento
Application Class
Application Members
Microsoft.SqlServer.Dts.Runtime Namespace