다음을 통해 공유


Dimension.CreateDimensionFromHierarchy Method

Converts a Hierarchy object into a Dimension object.

Namespace:  Microsoft.PerformancePoint.Scorecards
Assembly:  Microsoft.PerformancePoint.Scorecards.Client (in Microsoft.PerformancePoint.Scorecards.Client.dll)

Syntax

'Declaration
Public Shared Function CreateDimensionFromHierarchy ( _
    hierarchy As Hierarchy, _
    dimType As DimensionTypeEnum _
) As Dimension
'Usage
Dim hierarchy As Hierarchy
Dim dimType As DimensionTypeEnum
Dim returnValue As Dimension

returnValue = Dimension.CreateDimensionFromHierarchy(hierarchy, _
    dimType)
public static Dimension CreateDimensionFromHierarchy(
    Hierarchy hierarchy,
    DimensionTypeEnum dimType
)

Parameters

Return Value

Type: Microsoft.PerformancePoint.Scorecards.Dimension

Remarks

This method should be used only when newer metadata calls result in Hierarchy objects, and code needs to be called that expects a Dimension object.

See Also

Reference

Dimension Class

Dimension Members

Microsoft.PerformancePoint.Scorecards Namespace