Open this page in the API Guide

ExpressionDescriptor.DefineDateTimeParameter Method (String, String, String, DateTime, DateTime, DateTime)

Defines a parameter placeholder that expects DateTime values for resolution.

Namespace:  Dundas.BI.Data.Metadata
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.2.0.1000)
Syntax
public ParameterPlaceholder DefineDateTimeParameter(
	string placeholderCaption,
	string name,
	string description,
	DateTime defaultValue,
	DateTime minimumValue,
	DateTime maximumValue
)

Parameters

placeholderCaption
Type: System.String
The parameter placeholder used in the expression statement.
name
Type: System.String
The name.
description
Type: System.String
The parameter description.
defaultValue
Type: System.DateTime
The default value.
minimumValue
Type: System.DateTime
The minimum value.
maximumValue
Type: System.DateTime
The maximum value.

Return Value

Type: ParameterPlaceholder
The expression parameter.
Exceptions
ExceptionCondition
ArgumentExceptionplaceholderCaption is null or Empty or already in use in the expression statement or defaultValue, minimumValue or maximumValue is invalid.
InvalidOperationExceptionParameters can be defined only for entity specific expressions.
See Also