HP Operations Manager for Windows

OV_Message::DeleteAnnotationById()
OV_Message::DeleteAnnotationById_Trans()


sint32 DeleteAnnotationById(
[in] string AnnoId)

Parameters

AnnoId
Annotation ID of the wanted annotation.

Calling Convention

These methods can be called only from a WMI instance object.

Description

Deletes the annotation identified by the Annotation Id of the selected message.

Return Value

Values
ValueMap
Values
0 = (MS900) Succeeded
-1 = (MS908) Error
-10 = (MS902) Incompatible Message State
-11 = (MS903) User Not Owner of Message
-12 = (MS904) Message is Acknowledged
-20 = (MS905) Invalid Severity Value
-21 = (MS906) Invalid Annotation Number
-22 = (MS909) User Not Creator of Annotation

Extended Status Codes

None.