Delen via


DataItemCollection.Remove Method

Removes the specified DataItem from the collection.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public Sub Remove ( _
    item As DataItem _
)
'Usage
Dim instance As DataItemCollection 
Dim item As DataItem

instance.Remove(item)
public void Remove(
    DataItem item
)
public:
void Remove(
    DataItem^ item
)
member Remove : 
        item:DataItem -> unit
public function Remove(
    item : DataItem
)

Parameters

Exceptions

Exception Condition
ItemNotFoundException

item is not contained by the collection.

See Also

Reference

DataItemCollection Class

Microsoft.AnalysisServices Namespace