ExpressionDescriptorDefineDateTimeParameter Method (String, String, String, ParameterToken, 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 (10.0.0.1002)
Syntax
public ParameterPlaceholder DefineDateTimeParameter(
	string placeholderCaption,
	string name,
	string description,
	ParameterToken defaultValue,
	DateTime minimumValue,
	DateTime maximumValue
)

Parameters

placeholderCaption
Type: SystemString
The parameter placeholder used in the expression statement.
name
Type: SystemString
The name.
description
Type: SystemString
The parameter description.
defaultValue
Type: Dundas.BI.Data.Parameters.TokensParameterToken
The default value.
minimumValue
Type: SystemDateTime
The minimum value.
maximumValue
Type: SystemDateTime
The maximum value.

Return Value

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