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
- package
Type: Microsoft.SqlServer.Dts.Runtime.Package
The package.
- streamName
Type: System.String
The name of the stream.