Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Explicitly converts an MDXValue object to a DateTime.
Namespace: Microsoft.AnalysisServices.AdomdServer
Assembly: msmgdsrv (in msmgdsrv.dll)
Syntax
'Declaration
Public Shared Narrowing Operator CType ( _
mpMDXValue As MDXValue _
) As DateTime
'Usage
Dim input As MDXValue
Dim output As DateTime
output = CType(input, DateTime)
public static explicit operator DateTime (
MDXValue mpMDXValue
)
static explicit operator DateTime (
MDXValue^ mpMDXValue
)
JScript supports the use of custom casts, but not the declaration of new ones.
Parameters
- mpMDXValue
Type: Microsoft.AnalysisServices.AdomdServer.MDXValue
An MDXValue object.
Return Value
Type: DateTime
The converted MDX value object into a DateTime object.