Share via


MDXValue Explicit Conversion (DateTime to MDXValue)

Explicitly converts a DateTime value to an MDXValue object.

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

Syntax

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

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

Parameters