Dela via


PerspectiveMeasureGroupCollection.Find Method

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

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

Syntax

'Declaration
Public Function Find ( _
    measureGroupId As String _
) As PerspectiveMeasureGroup
'Usage
Dim instance As PerspectiveMeasureGroupCollection
Dim measureGroupId As String
Dim returnValue As PerspectiveMeasureGroup

returnValue = instance.Find(measureGroupId)
public PerspectiveMeasureGroup Find(
    string measureGroupId
)
public:
PerspectiveMeasureGroup^ Find(
    String^ measureGroupId
)
member Find : 
        measureGroupId:string -> PerspectiveMeasureGroup 
public function Find(
    measureGroupId : String
) : PerspectiveMeasureGroup

Parameters

Return Value

Type: Microsoft.AnalysisServices.PerspectiveMeasureGroup
The PerspectiveMeasureGroup if it exists in the collection; otherwise, a null reference (Nothing in Visual Basic).