ExpressionDescriptorDefineDateTimeParameter 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 (24.2.0.1000)
Syntaxpublic ParameterPlaceholder DefineDateTimeParameter(
string placeholderCaption,
string name,
string description,
DateTime defaultValue,
DateTime minimumValue,
DateTime maximumValue
)
Public Function DefineDateTimeParameter (
placeholderCaption As String,
name As String,
description As String,
defaultValue As DateTime,
minimumValue As DateTime,
maximumValue As DateTime
) As ParameterPlaceholder
public:
ParameterPlaceholder^ DefineDateTimeParameter(
String^ placeholderCaption,
String^ name,
String^ description,
DateTime defaultValue,
DateTime minimumValue,
DateTime maximumValue
)
member DefineDateTimeParameter :
placeholderCaption : string *
name : string *
description : string *
defaultValue : DateTime *
minimumValue : DateTime *
maximumValue : DateTime -> ParameterPlaceholder
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: SystemDateTime
The default value. - minimumValue
- Type: SystemDateTime
The minimum value. - maximumValue
- Type: SystemDateTime
The maximum value.
Return Value
Type:
ParameterPlaceholderThe expression parameter.
ExceptionsException | Condition |
---|
ArgumentException | placeholderCaption is or Empty or already in use in the expression statement
or
defaultValue, minimumValue or maximumValue is invalid. |
InvalidOperationException | Parameters can be defined only for entity specific expressions. |
See Also