Partilhar via


Método FromDateTime

Creates a new MDXValue object from a DateTime.

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

Sintaxe

'Declaração
Public Shared Function FromDateTime ( _
    parameter As DateTime _
) As MDXValue
'Uso
Dim parameter As DateTime
Dim returnValue As MDXValue

returnValue = MDXValue.FromDateTime(parameter)
public static MDXValue FromDateTime(
    DateTime parameter
)
public:
static MDXValue^ FromDateTime(
    DateTime parameter
)
static member FromDateTime : 
        parameter:DateTime -> MDXValue 
public static function FromDateTime(
    parameter : DateTime
) : MDXValue

Parâmetros