Share via


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
public static MDXValue FromDateTime (
    DateTime parameter
)
public:
static MDXValue^ FromDateTime (
    DateTime parameter
)
public static MDXValue FromDateTime (
    DateTime parameter
)
public static function FromDateTime (
    parameter : DateTime
) : MDXValue

Parameters

  • parameter
    A DateTime object.

Return Value

An MDXValue.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

MDXValue Class
MDXValue Members
Microsoft.AnalysisServices.AdomdServer Namespace