PackageItems.Add 方法
Add a PackageItem object to the PackageItems collection with specified stream name and package.
命名空間: Microsoft.SqlServer.Dts.Runtime
組件: Microsoft.SqlServer.ManagedDTS (在 Microsoft.SqlServer.ManagedDTS.dll 中)
語法
'宣告
Public Sub Add ( _
package As Package, _
streamName As String _
)
'用途
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
)
參數
- package
型別:Microsoft.SqlServer.Dts.Runtime.Package
The package.
- streamName
型別:System.String
The name of the stream.