HP Operations Manager for Windows

OV_Message::GetAnnotationById()
OV_Message::GetAnnotationById_Trans()


sint32 GetAnnotationById(
[in] string AnnoId,
[out] OV_MessageAnnotation Annotation)

Parameters

AnnoId
Annotation ID of the wanted annotation.
Annotation
Annotation identified by AnnotationNumber.

Calling Convention

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

Description

Gets the annotation specified 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

Extended Status Codes

None.