共用方式為


Operator Element (RDL)

Specifies the operator to use to compare the values in the FilterExpression and FilterValues elements.

語法

<Filter>
       ...
        <Operator>...</Operator>
       ...
</Filter>

Element Characteristics

Characteristic Description

Data type and length

String

Default value

None

Cardinality

1-1: Required element that occurs once and only once.

Element Relationships

Relationship Element

Parent element

Filter

Child element

None

備註

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

  • Equal
  • Like
  • NotEqual
  • GreaterThan
  • GreaterThanOrEqual
  • LessThan
  • LessThanOrEqual
  • TopN
  • BottomN
  • TopPercent
  • BottomPercent
  • In
  • Between

Like uses the same special characters as the Like operator in Microsoft Visual Basic .NET. For more information, see the Visual Basic .NET documentation on msdn.microsoft.com.

請參閱

參考

Report Definition XML Elements
FilterExpression Element (RDL)
FilterValues Element (RDL)

說明及資訊

取得 SQL Server 2005 協助