SMS_SiteAndSubsites Server WMI Class

 

Updated: November 1, 2013

Applies To: System Center 2012 Configuration Manager, System Center 2012 Configuration Manager SP1, System Center 2012 R2 Configuration Manager

The SMS_SiteAndSubsites Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that reads the current site and child site information.

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

Class SMS_SiteAndSubsites : SMS_BaseClass
{
    String ServerName;
    String SiteCode;
    String SiteName;
    String Version;
};

The SMS_SiteAndSubsites class does not define any methods.

ServerName

Data type: String

Access type: Read

Qualifiers: [none]

The server name of the site Configuration Manager is installed on.

SiteCode

Data type: String

Access type: Read

Qualifiers: [key, sizelimit("3")]

The three letter site code for the site.

SiteName

Data type: String

Access type: Read

Qualifiers: [none]

The name of the site.

Version

Data type: String

Access type: Read

Qualifiers: [none]

The Configuration Manager version of the current site.

Show: