Udostępnij za pośrednictwem


UsedInQuery Element (RDL)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Indicates whether a report parameter is used in queries within the report.

Datatype Characteristics

Characteristic Description

Data type and length

String

Default value

Auto

Element Relationships

Relationship Element

Parent element

ReportParameters Element (RDL)

Child element

None

Remarks

The UsedInQuery element must contain one of the following string values:

  • True
  • False
  • Auto

You use the UsedInQuery to determine whether queries containing parameters that are associated with the report parameter are executed if the report parameter changes. This impacts whether the parameter can be changed in snapshot reports. Setting the value to Auto indicates that the report server attempts to detect whether the parameter is used in a query.

See Also

Reference

Report Definition Language XML Schema
Report Definition XML Elements

Concepts

Report Definition Language Data Types

Other Resources

Development (Reporting Services)
Querying and Defining Report Data (Reporting Services)

Help and Information

Getting SQL Server 2008 Assistance