MDXValue Explicit Conversion (Hierarchy to MDXValue)
Explicitly converts a Hierarchy to an MDXValue object.
Namespace: Microsoft.AnalysisServices.AdomdServer
Assembly: msmgdsrv (in msmgdsrv.dll)
Syntax
'Declaration
Public Shared Narrowing Operator CType ( _
parameter As Hierarchy _
) As MDXValue
'Usage
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.
Parameters
- parameter
Type: Microsoft.AnalysisServices.AdomdServer.Hierarchy
A Hierarchy object.
Return Value
Type: Microsoft.AnalysisServices.AdomdServer.MDXValue
The converted hierarchy object into a MDX value object.