The Event Schema

Application Center events are WMI classes that inherit from a base class. The top parent class in the Application Center event schema (namespace) is the MicrosoftAC_Base_Event, which inherits from the WMI class _ExtrinsicEvent. Base, or container classes, are not fired directly as events and do not appear in the Windows Event Log or the Application Center Event view; however, they can be used in a WMI event query to receive events for any child class.

NOTE


The event schema presented in Figures 9.1 through 9.5 inclusive only show the container classes. To view the events within these classes, refer to the application event schema information, in the "References" section of the Application Center online Help or Appendix D, "Application Center Events."

Figure 9.1 shows the top-level container classes in the Application Center namespace.

click to view at full size

Figure 9.1 The Application Center Base Event class

The next series of figures (Figure 9.2 through 9.5) show the Application Center Event classes expanded down to the lowest level in each of the four major Events class nodes.

click to view at full size

Figure 9.2 The MicrosoftAC_Replication_Event class

click to view at full size

Figure 9.3 The MicrosoftAC_Cluster_Event class

click to view at full size

Figure 9.4 The MicrosoftAC_RequestForwarding_Event class

click to view at full size

Figure 9.5 The MicrosoftAC_Monitoring_Event class

NOTE


For detailed event information, including the event identifier, event type, event name, and event description, see Appendix D, "Application Center Events."

Querying a Container Class

You can query a container class and receive event information for all of the class's children. The following examples illustrate container class queries that use a WMI Query Language (WQL) statement in Wbemtest.

Suppose that you wanted to obtain information about the success/failures for these online actions:

  • 8024—MicrosoftAC_Monitoring_OnlineAction_Success_Event
  • 8025—MicrosoftAC_Monitoring_OnlineAction_Failure_Event

You would execute this query:

 Select * from MicrosoftAC_Monitoring_OnlineAction_Event 

Your query for the container class will return events for any of its children because of the following class hierarchy:

MicrosoftAC_Event

    MicrosoftAC_Monitoring_Event

            MicrosoftAC_Monitoring_OnlineAction_Event

                    MicrosoftAC_Monitoring_OnlineAction_Success_Event

Now suppose that you want to query for specific online and offline events (for example, 4015 and 4016), the query statement would be:

 Select * from MicrosoftAC_Cluster_Loadbalancing_Event where EventId=4015 or EventId=4016  



Microsoft Application Center 2000 Resource Kit 2001
Microsoft Application Center 2000 Resource Kit 2001
ISBN: N/A
EAN: N/A
Year: 2004
Pages: 183

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net