Share via


PackageItems.Add Method

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

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

Syntax

'Declaration
Public Sub Add ( _
    package As Package, _
    streamName As String _
)
'Usage
Dim instance As PackageItems 
Dim package As Package 
Dim streamName As String

instance.Add(package, streamName)
public void Add(
    Package package,
    string streamName
)
public:
void Add(
    Package^ package, 
    String^ streamName
)
member Add : 
        package:Package * 
        streamName:string -> unit
public function Add(
    package : Package, 
    streamName : String
)

Parameters

See Also

Reference

PackageItems Class

Microsoft.SqlServer.Dts.Runtime Namespace