Conversione Explicit (DateTime to MDXValue)
Explicitly converts a DateTime value to an MDXValue object.
Spazio dei nomi Microsoft.AnalysisServices.AdomdServer
Assembly: msmgdsrv (in msmgdsrv.dll)
Sintassi
'Dichiarazione
Public Shared Narrowing Operator CType ( _
parameter As DateTime _
) As MDXValue
'Utilizzo
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 supporta l'utilizzo di cast personalizzati, ma non la dichiarazione di nuovi cast.
Parametri
- parameter
Tipo: System. . :: . .DateTime
A DateTime object.
Valore restituito
Tipo: Microsoft.AnalysisServices.AdomdServer. . :: . .MDXValue
An MDXValue.