SMS_Site
The SMS_Site WMI class contains identification and status data for an SMS site installation.
The following syntax is simplified from MOF code and includes all inherited properties.
Class SMS_Site : SMS_BaseClass
{
uint32 BuildNumber;
string InstallDir;
string ReportingSiteCode;
uint32 RequestedStatus;
string ServerName;
string SiteCode;
string SiteName;
uint32 Status;
string TimeZoneInfo;
uint32 Type;
string Version;
};
Properties
BuildNumber
Data type: uint32
Access type: Read-onlySMS build number.
InstallDir
Data type: string
Access type: Read-onlyDirectory to which SMS was installed.
ReportingSiteCode
Data type: string
Access type: Read-onlyParent site code. This value may be blank.
RequestedStatus
Data type: uint32
Access type: Read-onlyRequest secondary site status.
ServerName
Data type: string
Access type: Read-onlyServer name of the site on which SMS is installed.
SiteCode
Data type: string
Access type: Read-only
Qualifiers: KeySite code for the site.
SiteName
Data type: string
Access type: Read-onlyName of the site.
Status
Data type: uint32
Access type: Read-onlyCurrent status of the site. Values are:
ACTIVE (1)
PENDING (2)
FAILED (3)
DELETED (4)
UPGRADE (5)TimeZoneInfo
Data type: string
Access type: Read-onlySite server time zone represented as a Win32 TIME_ZONE_INFORMATION structure that is returned by the Win32 GetTimeZoneInformation method.
Type
Data type: uint32
Access type: Read-onlyType of site, either primary or secondary. Values are:
SECONDARY (1)
PRIMARY (2)Version
Data type: string
Access type: Read-onlyComplete SMS version of the current site.
Methods
The following table lists the method in SMS_Site.
Method | Description |
---|---|
VerifyNoLoops | Class method that determines if the parent-child relationship for a given site will result in a recursive loop. |