PackageItems PackageItems 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>
Public NotInheritable Class PackageItems
Implements IEnumerable(Of PackageItem)
Inheritance
PackageItemsPackageItemsPackageItems
Implements

Properties

Count Count Count

Gets the number of PackageItem contained in the PackageItems collection.

Item[Int32] Item[Int32] Item[Int32]

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

Item[String] Item[String] Item[String]

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

Methods

Add(Package, String) Add(Package, String) Add(Package, String)

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

GetEnumerator() GetEnumerator() GetEnumerator()

Returns a IEnumerator&lt;Parameter&gt; enumerator for use in iterating over the PackageItems collection.

IndexOf(String) IndexOf(String) IndexOf(String)

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

Insert(Int32, Package, String) Insert(Int32, Package, String) Insert(Int32, Package, String)

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

Remove(String) Remove(String) Remove(String)

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

RemoveAt(Int32) RemoveAt(Int32) RemoveAt(Int32)

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

Explicit Interface Implementations

IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() IEnumerable.GetEnumerator()

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

Applies to