ExpressionDescriptorDefineDateTimeParameter(String, String, String, ParameterToken, ValidValuesSource) Method

Defines a parameter placeholder that expects DateTime for resolution.

Namespace: Dundas.BI.Data.Metadata
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.2.0.1000)
Syntax
public ParameterPlaceholder DefineDateTimeParameter(
	string placeholderCaption,
	string name,
	string? description,
	ParameterToken defaultValue,
	ValidValuesSource validValuesSource
)

Parameters

placeholderCaption  String
The parameter placeholder used in the expression statement.
name  String
The name.
description  String
The parameter description.
defaultValue  ParameterToken
The default value.
validValuesSource  ValidValuesSource
The valid values source.

Return Value

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