AddAlert Method
Description
Adds a new alert to the specified entity.
Syntax
Visual Basic
Public Function AddAlert( _
   ByVal ChangedEntityType As String, _
   ByVal ChangedEntityID As Long, _
   ByVal alertSubject As String, _
   ByVal alertDescription As String _
) As Object
Parameters
ChangedEntityType
The type of object the whose change triggered the Alert. One or BUG, REQ, TEST, or TESTSET.
ChangedEntityID
The ID of the object of the specified changed entity type.
alertSubject
A short summary appropriate to be used as subject line of the Alert e-mail.
alertDescription
The description of the alert.
Return Type
The new Alert Object.
Remarks
If no object specified with ChangedEntityType.ID exists, a run-time error occurs.
See Also