WMI Class Reference

The Configuration Database WMI Provider exposes classes and instances in the configuration database of Microsoft® Provisioning Framework (MPF)

A class represents a template for a type of instance or object that can be retrieved from the configuration database. For example, MSFT_MPFTranLogServer is the class for MPF transaction log servers. Classes are defined in maps.mof, located in the \Microsoft Provisioning\Tools\Admin directory of the installed MPF.

A class can contain properties and/or methods. A property is an attribute; for example, the ServerName property identifies the name of a server instance associated with MSFT_MPFTranLogServer. A method is a function attached to a class definition. MSFT_MPFTranLogServer contains the method maps_ActivateLogServer. Methods can be either non-static (an instance path is required to call the method) or static (the caller only needs a class path to call the method).

Classes and instances are uniquely identified by their path. The path to a class is the class name. A path to an instance is the class name plus the key properties and their values  An example of a path to an instance of MSFT_MPFTranLogServer is MSFT_MPFTranLogServer.ServerName = "Server MPF-01."

A reference is a property that contains the path to another instance to show a relationship.  For example, MSFT_MPFTranLogServer references the Listener property of MSFT_MPFListenerServer to link the transaction log server to an instance of the Provisioning Auditing and Recovery Service.

Before a script or other application can do anything with WMI, the program must connect to a WMI namespace. The namespace for MPF is root\mpf.


The following classes represent objects registered in the configuration database.

WMI Class Description
MSFT_MPFClient Represents an MPF client.
MSFT_MPFCredential Represents user credentials for basic authentication.
MSFT_MPFListenerServer Represents auditing and recovery servers.
MSFT_MPFLogGroupProp Represents log group properties.
MSFT_MPFNamespace Represents namespace definitions.
MSFT_MPFProcDefinition Represents procedure definitions.
MSFT_MPFPropDefinition Represents site and log group properties. 

Note  These properties are only used internally. Do not create or modify instances of this class.

MSFT_MPFRMLogServer Represents resource manager servers.
MSFT_MPFServer Represents provisioning engine servers.
MSFT_MPFSite Represents sites. Currently, MPF only supports a single site per configuration database.
MSFT_MPFSiteLogGroup Represents site log groups. A site log group is a relationship between a site and a transaction log group.
MSFT_MPFSiteNamespace Represents relationships between sites and namespaces.
MSFT_MPFSiteProp Represents site properties.
MSFT_MPFTranLogGroup Represents transaction log groups.
MSFT_MPFTranLogServer Represents transaction log servers
MSFT_MPFXmlSchema Represents procedure XML schemas.

See Also

MSDN® information on Windows Management Instrumentation (WMI)

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