The SMS_ProviderLocation Windows Management Instrumentation (WMI) class, in System Center 2012 R2 Configuration Manager, identifies the location of the SMS Provider for a site.

The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties.

Class SMS_ProviderLocation 
{
	 String Machine;
	 String NamespacePath;
	 Boolean ProviderForLocalSite;
	 String SiteCode;
};

Properties

Machine

Data type: StringAccess type: Read/WriteQualifiers: NoneName of the computer on which the SMS Provider resides.
NamespacePath

Data type: StringAccess type: Read/WriteQualifiers: NoneFull WMI path to the SMS Provider namespace.
ProviderForLocalSite

Data type: BooleanAccess type: Read/WriteQualifiers: Nonetrue if the SMS Provider is set as the local site server for the client.
SiteCode

Data type: StringAccess type: Read/WriteQualifiers: [key]Site code of the site.

Remarks

There are no special class qualifiers for this class. For more information about both the class qualifiers and the property qualifiers included in the Properties section, see Configuration Manager Class and Property Qualifiers.

For information on using this class, see How to Connect to an SMS Provider in Configuration Manager by Using WMI.

Requirements

Runtime Requirements

Development Requirements

See Also