Dela via


PerspectiveMeasureGroupCollection.Add Method (String)

Creates and adds a PerspectiveMeasureGroup, with the specified identifier, to the end of the collection.

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

Syntax

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

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

Parameters

Return Value

Type: Microsoft.AnalysisServices.PerspectiveMeasureGroup
The zero-based index at which the PerspectiveMeasureGroup has been added.