MeasureGroupDimensionCollection.IndexOf Method (String)
SQL Server 2012
Gets the index of a MeasureGroupDimension that has the specified identifier.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Parameters
- cubeDimensionId
- Type: System.String
The identifier of a MeasureGroupDimension to locate.
Return Value
Type: System.Int32The zero-based index of the MeasureGroupDimension specified by cubeDimensionID if the object is found; otherwise, -1.
