Share via


DimensionCollection.Remove Method (Dimension)

Removes the specified Dimension from the collection.

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

Syntax

'Declaration
Public Sub Remove ( _
    item As Dimension _
)
'Usage
Dim instance As DimensionCollection
Dim item As Dimension

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

Parameters

Exceptions

Exception Condition
ItemNotFoundException

item is not contained by the collection.