DeleteAlertsByFilter Method
Description
Removes alerts associated with objects of the specified type from the database if they match the filter.
Syntax
Visual Basic
Public Sub DeleteAlertsByFilter( _
   ByVal EntityType As String, _
   ByVal Filter As String _
) 
Parameters
EntityType
One of REQ, TEST, TESTCYCL, or BUG.
Filter
A TDFilter.Text to restrict the deletion to a subset of the user's visible alerts. To delete all visible alerts, pass an empty string.
Remarks

This function deletes all visible alerts of the specified entity type for which the current session user is the owner of the alert or follow-up. Alerts that are not visible because they are filtered by the this user's group data hiding are not deleted.

For more details on the entity types, see Req, Test, TESTCYCL (TestSet), and Bug.

See Also