Share via


MeasureGroupCollection.Remove Method (MeasureGroup)

Removes the specified MeasureGroup from the collection.

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

Syntax

'Declaration
Public Sub Remove ( _
    item As MeasureGroup _
)
'Usage
Dim instance As MeasureGroupCollection
Dim item As MeasureGroup

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

Parameters

Exceptions

Exception Condition
ItemNotFoundException

item does not exist in the collection.