共用方式為


SMS_Identification Server WMI Class

Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2

The SMS_Identification Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that provides basic information about the installed SMS_Site Server WMI Class object, for example, its language version, site code, and provider.

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

Class SMS_Identification : SMS_BaseClass 
{
     UInt32 LocaleID;
     String ServiceAccountName;
     UInt32 SMSBuildNumber;
     UInt32 SMSMinBuildNumber;
     String SMSProviderServer;
     String SMSSiteServer;
     String SMSVersion;
     String ThisSiteCode;
     String ThisSiteName;
};

Methods

The following table lists the methods in SMS_Identification.

Method Description

GetCurrentUser Method in Class SMS_Identification

Gets the domain\user name being used by the SMS Provider for authentication.

GetProviderVersion Method in Class SMS_Identification

Gets the product version string from the version resources of the SMS Provider DLL.

GetSiteID Method in Class SMS_Identification

Gets the unique ID of the installed Configuration Manager site.

Properties

  • LocaleID
    Data type: UInt32

    Access type: Read/Write

    Qualifiers: [Subtype("Locale Id")]

    ID of the locale used by the Configuration Manager installation, for example, English (1033) or German (1031).

  • ServiceAccountName
    Data type: String

    Access type: Read/Write

    Qualifiers: None

    Name of the Configuration Manager service account, which is a special user account having administrative privileges that uses Configuration Manager to perform certain activities. The value includes the domain.

  • SMSBuildNumber
    Data type: UInt32

    Access type: Read/Write

    Qualifiers: None

    Build version number of the installed Configuration Manager software.

  • SMSMinBuildNumber
    Data type: UInt32

    Access type: Read/Write

    Qualifiers: None

    Minimum build version number of the database with which the Configuration Manager console can work.

  • SMSProviderServer
    Data type: String

    Access type: Read/Write

    Qualifiers: None

    Name of the server on which the SMS Provider is installed.

  • SMSSiteServer
    Data type: String

    Access type: Read/Write

    Qualifiers: None

    Name of the server on which the Configuration Manager site server components are installed.

  • SMSVersion
    Data type: String

    Access type: Read/Write

    Qualifiers: None

    Major version number of the Configuration Manager installation, for example, 2.0. For the complete version number, see the Version property of SMS_Site Server WMI Class.

  • ThisSiteCode
    Data type: String

    Access type: Read/Write

    Qualifiers: [key]

    Site code for the installation.

  • ThisSiteName
    Data type: String

    Access type: Read/Write

    Qualifiers: None

    Friendly name of the site.

Remarks

Class qualifiers for this class include:

  • Read (read-only)

For more information about both the class qualifiers and the property qualifiers included in the Properties section, see Configuration Manager Class and Property Qualifiers.

Requirements

Runtime Requirements

For more information, see Configuration Manager Server Runtime Requirements.

Development Requirements

For more information, see Configuration Manager Server Development Requirements.

See Also

Reference

SMS_Site Server WMI Class

Concepts

Configuration Manager Site Configuration Server WMI Classes