Share via


PackageItems Class

Contains a collection of PackageItem objects.

Inheritance Hierarchy

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

The PackageItems type exposes the following members.

Properties

  Name Description
Public property Count Gets the number of PackageItem contained in the PackageItems collection.
Public property Item[Int32] Returns a PackageItem object from the PackageItems collection with specified index.
Public property Item[String] Returns a PackageItem object from the PackageItems collection with specified stream name.

Top

Methods

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

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator Retrieves an enumerator that can be used to iterate through the current collection.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SqlServer.Dts.Runtime Namespace