Share via


PackageItems.Remove Method

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

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

Syntax

'Declaration
Public Function Remove ( _
    streamName As String _
) As Boolean
'Usage
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

Parameters

Return Value

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

See Also

Reference

PackageItems Class

Microsoft.SqlServer.Dts.Runtime Namespace