MSFT_MPFSite


WMI class that represents sites of Microsoft® Provisioning Framework (MPF) in the configuration database. Used by Configuration Database WMI Provider.

Note  Currently, MPF only supports a single site per configuration database.

Syntax

class MSFT_MPFSite
{
	[key]
	string SiteName;

	string Description;
	datetime Version;
	datetime TranLogVersion;
	datetime NamespaceVersion;
	datetime PropsVersion;

	uint32 maps_SetSiteProperty(
		[in, ID(0), fromPath] string Site, 
		[in, ID(1)] string Owner,
		[in, ID(2)] string Name,
		[in, ID(3)] string Value);

	uint32 maps_ConnectSiteToNamespace(
		[in, ID(0), fromPath] string Site,
		[in, ID(1)] sint32 NamespaceID);
};

Table
Site

Properties

SiteName *
A string that names the site.
Description
A string that describes the site.
Version
A datetime that indicates when the site last changed.
TranLogVersion
A datetime that indicates when the transaction log last changed. 
NamespaceVersion
A datetime that indicates when the namespace last changed.
PropsVersion
A datetime that indicates when the site properties last changed.
 
* Key property

Methods

Method Description
maps_SetSiteProperty Sets a site property. This procedure can also be used to create or update an instance of MSFT_MPFPropDefinition or MSFT_MPFSiteProp.

Parameters

  • Site [in, ID(0), fromPath]: A string that names the site to use. If null, the provider uses the name of the current site instance used to make the method call.
  • Owner [in, ID(1)]: A string that identifies the owner of the property. This is the same owner found in MSFT_MPFPropDefinition instances.
  • Name [in, ID(2)]: A string that names the property. This is the same name found in MSFT_MPFPropDefinition instances.
  • Value [in, ID(3)]: A string that stores the value of the property. This is the same name found in MSFT_MPFSiteProp instances.
maps_ConnectSiteToNamespace Instructs a site to start using a specified namespace.

Parameters

  • Site [in, ID(0), fromPath]: A string that identifies the site to use. If null, the provider uses the name of the current site instance used to make the method call.
  • NamespaceID [in, ID(1)]: A sint32 that identifies the namespace to connect to the site.

See also

MSDN® information on Windows Management Instrumentation (WMI)


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