MDXValue.FromDateTime Method
Creates a new MDXValue object from a DateTime.
Namespace: Microsoft.AnalysisServices.AdomdServer
Assembly: msmgdsrv (in msmgdsrv.dll)
Syntax
'Declaration
Public Shared Function FromDateTime ( _
parameter As DateTime _
) As MDXValue
'Usage
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
Parameters
- parameter
Type: DateTime
A DateTime object.
Return Value
Type: Microsoft.AnalysisServices.AdomdServer.MDXValue
A new value from a datetime object.