Programming the Microsoft System Center Configuration Manager 2007 client Windows Management Instrumentation (WMI) provider differs according to the programming language you use.

C#

If you are using C#, you should use the System.Management namespace, which provides access to a rich set of management information and management events about the system, devices, and applications that are instrumented to the WMI infrastructure.

Note
The managed Configuration Manager 2007 library is for use with a Configuration Manager 2007 site server and cannot be used to access client WMI namespaces.

For more information about connecting to the Configuration Manager client WMI namespace by using the System.Management namespace, see How to Connect to the Configuration Manager Client WMI Namespace by Using System.Management.

For more information about using Configuration Manager client WMI namespace objects by using the System.Management namespace, see How to Read a WMI Object by Using System.Management.

For more information about using the System.Management namespace, see http://go.microsoft.com/fwlink/?LinkID=84308.

VBScript

If you are using VBScript you access and use Configuration Manager client WMI objects by using the same coding techniques that are used for accessing other WMI objects, including the Configuration Manager WMI objects. For more information see the http://go.microsoft.com/fwlink/?LinkId=43950.

Client WMI Namespace

The Configuration Manager client WMI namespace begins at \\<client>\root\ccm. For example, root\ccm contains the SMS_Client class that can be used to get and set client information.

See Also


Send comments about this topic to Microsoft.