共用方式為


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 協助