MDXValue Explicit 转换 (MDXValue to DateTime)

Explicitly converts an MDXValue object to a DateTime.

命名空间:  Microsoft.AnalysisServices.AdomdServer
程序集:  msmgdsrv(在 msmgdsrv.dll 中)

语法

声明
Public Shared Narrowing Operator CType ( _
    mpMDXValue As MDXValue _
) As DateTime
用法
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 支持使用自定义转换,但不支持声明新自定义转换。

参数

返回值

类型:System.DateTime
The converted MDX value object into a DateTime object.

请参阅

参考

MDXValue 类

Explicit 重载

Microsoft.AnalysisServices.AdomdServer 命名空间