Condividi tramite


Conversione Explicit (MDXValue to DateTime)

Explicitly converts an MDXValue object to a DateTime.

Spazio dei nomi:  Microsoft.AnalysisServices.AdomdServer
Assembly:  msmgdsrv (in msmgdsrv.dll)

Sintassi

'Dichiarazione
Public Shared Narrowing Operator CType ( _
    mpMDXValue As MDXValue _
) As DateTime
'Utilizzo
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 supporta l'utilizzo di cast personalizzati, ma non la dichiarazione di nuovi cast.

Valore restituito

Tipo: System. . :: . .DateTime
A DateTime.