In Configuration Manager 2007, the names of views and columns are designed to be as close to the SMS Provider Windows Management Instrumentation (WMI) schema as possible. Because the views names and view column names must be valid SQL identifiers, there are some discrepancies between WMI and SQL names. However, in the majority of cases the following rules can be applied to convert a WMI class name to its corresponding SQL Server view:

Beyond this, the following class families have a differing nomenclature for their view equivalents:

System Inventory Views

The syntax for the current inventory group is v_GS_<group name> (for example, v_GS_Tape_Drive).

The syntax for the history inventory group is v_HS_<group name> (for example, v_HS_Tape_Drive).

Note
There is no equivalent Extended History view (WMI class SMS_GEH_System_<group name>) because it is implemented as a stored procedure.

Custom Architecture Views

The syntax for the current groups is v_G<resource type number>_<group name> (for example, v_G6_VendorData).

In the previous example, it is assumed that a new inventory architecture, for example VendingMachine, has been added to the system and assigned the resource type number 6 and VendorData is a inventory group that is associated with the architecture. The resource type number might be related to the resource type name and its group’s classes using the schema information views.

The corresponding history inventory classes will use the suffix H in place of G.

Discovery Views

The views for discovery data differ from their WMI counterparts in that array properties in WMI are represented as separate views. For example, for the System resource, all the scalar properties are contained in the view v_R_System. There are a number of view tables for the array values, such as v_RA_System_IPAddresses and v_RA_System_MACAddresses. The general rules for the syntax of these views are:

  • Scalar class: v_R_<resource type name>

  • Array class: v_RA_<architecture name>_<group name>

Each array property view has just two columns: ResourceID and a column that contains the actual data. For example, for the view v_RA_System_IPAddresses the data column is v_RA_System_IPAddresses. As with inventory groups for the discovery view, column names differ from those of WMI classes. Each column ends with a zero character, ensuring uniqueness with SQL Server reserved words. In general, this is the only difference between the WMI and view column names although there are exceptions.

For more information about the classes that Configuration Manager supports, see Configuration Manager Reference.

See Also


Send comments about this topic to Microsoft.