PerspectiveMeasureGroupCollection.Remove Method (String)

Removes the PerspectiveMeasureGroup that has the specified identifier from the collection.

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

Syntax

'Declaration
Public Sub Remove ( _
    measureGroupId As String _
)
'Usage
Dim instance As PerspectiveMeasureGroupCollection 
Dim measureGroupId As String

instance.Remove(measureGroupId)
public void Remove(
    string measureGroupId
)
public:
void Remove(
    String^ measureGroupId
)
member Remove : 
        measureGroupId:string -> unit
public function Remove(
    measureGroupId : String
)

Parameters

Exceptions

Exception Condition
ItemNotFoundException

measureGroupID does not exist in the collection.

See Also

Reference

PerspectiveMeasureGroupCollection Class

Remove Overload

Microsoft.AnalysisServices Namespace