Freigeben über


PackageItems-Klasse

Contains a collection of PackageItem objects.

Vererbungshierarchie

System.Object
  Microsoft.SqlServer.Dts.Runtime.PackageItems

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

Syntax

'Declaration
Public NotInheritable Class PackageItems _
    Implements IEnumerable(Of PackageItem), IEnumerable
'Usage
Dim instance As PackageItems
public sealed class PackageItems : IEnumerable<PackageItem>, 
    IEnumerable
public ref class PackageItems sealed : IEnumerable<PackageItem^>, 
    IEnumerable
[<SealedAttribute>]
type PackageItems =  
    class 
        interface IEnumerable<PackageItem>
        interface IEnumerable 
    end
public final class PackageItems implements IEnumerable<PackageItem>, IEnumerable

Der PackageItems-Typ macht folgende Elemente verfügbar.

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft Count Gets the number of PackageItem contained in the PackageItems collection.
Öffentliche Eigenschaft Item[Int32] Returns a PackageItem object from the PackageItems collection with specified index.
Öffentliche Eigenschaft Item[String] Returns a PackageItem object from the PackageItems collection with specified stream name.

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Add Add a PackageItem object to the PackageItems collection with specified stream name and package.
Öffentliche Methode Equals (Geerbt von Object.)
Öffentliche Methode GetEnumerator Returns a IEnumerator<Parameter> enumerator for use in iterating over the PackageItems collection.
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetType (Geerbt von Object.)
Öffentliche Methode IndexOf Reports the index of the occurrence of the specified string in this instance.
Öffentliche Methode Insert Insert a PackageItem object to the PackageItems collection with specified index, stream name, and package.
Öffentliche Methode Remove Returns a value that indicates whether a PackageItem object from the PackageItems collection with specified stream name was removed.
Öffentliche Methode RemoveAt Removes a PackageItem object from the PackageItems collection with specified index.
Öffentliche Methode ToString (Geerbt von Object.)

Zum Anfang

Explizite Schnittstellenimplementierungen

  Name Beschreibung
Explizite SchnittstellenimplementierungPrivate Methode IEnumerable.GetEnumerator Retrieves an enumerator that can be used to iterate through the current collection.

Zum Anfang

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.SqlServer.Dts.Runtime-Namespace