PackageItems.Remove 方法

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

命名空间:  Microsoft.SqlServer.Dts.Runtime
程序集:  Microsoft.SqlServer.ManagedDTS(在 Microsoft.SqlServer.ManagedDTS.dll 中)

语法

声明
Public Function Remove ( _
    streamName As String _
) As Boolean
用法
Dim instance As PackageItems 
Dim streamName As String 
Dim returnValue As Boolean 

returnValue = instance.Remove(streamName)
public bool Remove(
    string streamName
)
public:
bool Remove(
    String^ streamName
)
member Remove : 
        streamName:string -> bool
public function Remove(
    streamName : String
) : boolean

参数

返回值

类型:System.Boolean
True if a PackageItem object from the PackageItems collection with specified stream name was removed; otherwise, false.

请参阅

参考

PackageItems 类

Microsoft.SqlServer.Dts.Runtime 命名空间