Sdílet prostřednictvím


PackageItems Class

Definition

Contains a collection of PackageItem objects.

public ref class PackageItems sealed : System::Collections::Generic::IEnumerable<Microsoft::SqlServer::Dts::Runtime::PackageItem ^>
public sealed class PackageItems : System.Collections.Generic.IEnumerable<Microsoft.SqlServer.Dts.Runtime.PackageItem>
type PackageItems = class
    interface seq<PackageItem>
    interface IEnumerable
Public NotInheritable Class PackageItems
Implements IEnumerable(Of PackageItem)
Inheritance
PackageItems
Implements

Properties

Count

Gets the number of PackageItem contained in the PackageItems collection.

Item[Int32]

Returns a PackageItem object from the PackageItems collection with specified index.

Item[String]

Returns a PackageItem object from the PackageItems collection with specified stream name.

Methods

Add(Package, String)

Add a PackageItem object to the PackageItems collection with specified stream name and package.

GetEnumerator()

Returns a IEnumerator<Parameter> enumerator for use in iterating over the PackageItems collection.

IndexOf(String)

Reports the index of the occurrence of the specified string in this instance.

Insert(Int32, Package, String)

Insert a PackageItem object to the PackageItems collection with specified index, stream name, and package.

Remove(String)

Returns a value that indicates whether a PackageItem object from the PackageItems collection with specified stream name was removed.

RemoveAt(Int32)

Removes a PackageItem object from the PackageItems collection with specified index.

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Retrieves an enumerator that can be used to iterate through the current collection.

Applies to