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