GetSqlRestriction Method

Override the GetSqlRestriction method of the SimpleTextRestriction class gets the WHERE clause for the SQL query that describes this restriction.

Return Value

A string that contains the WHERE clause for the SQL query that describes this restriction.

Remarks

The GetSqlRestriction method allows you to define additional restrictions to the query that defines the text restriction for an alert.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security