CoreRMO::Retrieve Notifications


Returns a list of the current notifications in the Resource Manager Database, then deletes the notifications from the database. Used by the Microsoft. Provisioning Framework (MPF).

XML Input Schema

Retrieve Notifications does not require input data.

XML Output Schema

The following code fragment shows the format for data this procedure returns. For more information on individual elements and attributes, see the Elements and Attributes table.

<executeData>1..1
  <notifications>1..1
	<notification>1..unbounded
	<eventName>1..1</eventName>
	<eventTransaction>1..1</eventTransaction>
	<eventSource>1..1</eventSource>
	<eventId>1..1</eventId>
	<eventType>1..1</eventType>
	<property>1..unbounded</property>
	<timestamp>1..1</timestamp>
	</notification>
  </notifications>
</executeData>

Elements and Attributes

The following table describes the XML elements and attributes. Unless otherwise indicated, the data type is string.

Element Description, relationships, and attributes
eventId Description:
ID of the notification event. Generated as an HRESULT.

Parent:
notification

eventName Description:
Name of the notification event.

Parent:
notification

eventSource Description:
Source of the notification event: "Resource Manager Core" or "Resource Manager Block Model".

Parent:
notification

eventTransaction Description:
ID of the transaction that raised the notification.

Parent:
notification

eventType Description:
Code indicating the type of event.
0 EVENTLOG_SUCCESS
1 EVENTLOG_ERROR_TYPE
2 EVENTLOG_WARNING_TYPE
4 EVENTLOG_INFORMATION_TYPE
8 EVENTLOG_AUDIT_SUCCESS
16 EVENTLOG_AUDIT_FAILURE

Parent:
notification

executeData Description:
Encapsulates the procedure's output data.

Child:
notifications (minOccurs="0" maxOccurs="1")

notification Description:
Encapsulates a description of a notification.

Children:
eventId (minOccurs="1" maxOccurs="1")
eventName
(minOccurs="1" maxOccurs="1")
eventTransaction (minOccurs="1" maxOccurs="1")
eventSource (minOccurs="1" maxOccurs="1")
eventType (minOccurs="1" maxOccurs="1")
property (minOccurs="0" maxOccurs="*")
timestamp (minOccurs="1" maxOccurs="1")

Parent:
notifications

notifications Description:
Encapsulates a list of notifications.

Parent:
executeData

Child:
notification (minOccurs="0" maxOccurs="*")

property Description:
Property associated with the event.

Parent:
notification

timestamp Description:
Date and time when the notification was raised.

Parent:
notification

Example

<request>
  <data/>
  <procedure>  
	<execute procedure="Retrieve Notifications" namespace="CoreRMO"> 
	<after source="executeData" sourcePath="notifications" destination="data" />
	</execute>
  </procedure>
</request>

Remarks

A notification consists of the following:

See Also

CoreRMO Provider, Raise Notifications As Events, Resource Manager


Up Top of Page
) 1999-2002 Microsoft Corporation. All rights reserved.