Optimized WQL Queries

The WMI Provider is optimized to allow applications to get settings using queries. The WMI Provider can recognize the following queries and will only return the objects that match. All other queries will result in the WMI Provider getting all the settings on all objects and CIMOM will filter them before they reach the application. With several adapters, teams, and VLANs, this can cause a delay of several seconds when retrieving required data.

Getting the Settings for a Particular Adapter, VLAN or Team

The following query will get only the settings for a particular adapter, VLAN or team. WQL does not allow any additional clauses in the WHERE clause.

ASSOCIATORS OF {IANet_Configuration path} WHERE AssocClass = IANet_SettingContext

Getting One Setting

The following query can be used to get a single setting for an object without querying to get them all:

SELECT * FROM [SETTING CLASS] WHERE ParentId="[Device ID]" AND ParentType="[type]" AND Caption="[SETTING NAME]"

Notes:

Home


Copyright© 2002 Intel Corporation. Legal Information