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