Value Element (ParameterValue) (RDL)

Contains a possible value for the parameter.

语法

<ParameterValue>
    ...
       <Value>...</Value>
       ...
</ParameterValue>

Element Characteristics

Characteristic Description

Data type and length

String

Default value

None

Cardinality

0-1: Optional element that occurs once or not at all.

Element Relationships

Relationship Element

Parent element

ParameterValue

Child element

None

备注

The Value element contains the actual parameter value to be passed. The sibling element, Label, contains a user-friendly parameter name.

The Value element contains an expression that evaluates to a variant. The following rules apply for non-string parameters:

  • For Boolean parameters, use true and false.
  • For DateTime parameters, use the International Organization for Standardization (ISO) 8601 standard.
  • For Float parameters, use a period character as the optional decimal separator.

请参阅

参考

Report Definition XML Elements
Label Element (ParameterValue) (RDL)

帮助和信息

获取 SQL Server 2005 帮助