Query Property
The Query property of the Alert class gets or sets the SQL query that defines this alert. Use the alert template to define query attributes for your alert.
Property Value
String SQL query that defines this alert.
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security