Share via


MDXValue Explicit Conversion (MDXValue to Hierarchy)

Explicitly converts an MDXValue object to a Hierarchy.

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

Syntax

'Declaration
Public Shared Narrowing Operator CType ( _
    mpMDXValue As MDXValue _
) As Hierarchy
'Usage
Dim input As MDXValue 
Dim output As Hierarchy 

output = CType(input, Hierarchy)
public static explicit operator Hierarchy (
    MDXValue mpMDXValue
)
static explicit operator Hierarchy^ (
    MDXValue^ mpMDXValue
)
JScript supports the use of custom casts, but not the declaration of new ones.

Parameters

Return Value

Type: Microsoft.AnalysisServices.AdomdServer.Hierarchy
The converted MDX value object into a hierarchy object.

See Also

Reference

MDXValue Class

Explicit Overload

Microsoft.AnalysisServices.AdomdServer Namespace