MDXValue Explicit Conversion (Hierarchy to MDXValue)

Explicitly converts a Hierarchy to an MDXValue object.

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


Public Shared Narrowing Operator CType ( _
    parameter As Hierarchy _
) As MDXValue
Dim input As Hierarchy 
Dim output As MDXValue 

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


Return Value

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

See Also


MDXValue Class

Explicit Overload

Microsoft.AnalysisServices.AdomdServer Namespace