DataItemCollection.Remove Method
Removes the specified DataItem from the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
'Declaration
Public Sub Remove ( _
item As DataItem _
)
'Usage
Dim instance As DataItemCollection
Dim item As DataItem
instance.Remove(item)
C#
public void Remove(
DataItem item
)
public:
void Remove(
DataItem^ item
)
member Remove :
item:DataItem -> unit
public function Remove(
item : DataItem
)
- item
Type: Microsoft.AnalysisServices.DataItem
The DataItem to be removed.
Exception | Condition |
---|---|
ItemNotFoundException | item is not contained by the collection. |