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.