Partager via


SMS_UpdatePrograms 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_UpdatePrograms Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that provides information about programs used for a software update.

Note

  This class is included for backward compatibility only. It is not applicable to the current Configuration Manager version.

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

Class SMS_UpdatePrograms : SMS_BaseClass
{
      String PackageID;
      UInt32 PackageType;
      UInt32 PackageVersion;
      String ProgramName;
      UInt32 UpdateID;
};

Methods

The SMS_UpdatePrograms class does not define any methods.

Properties

  • PackageID
    Data type: String

    Access type: Read/Write

    Qualifiers: [key, ResID(902), ResDLL("SMS_RSTT.dll")]

    The ID of the package associated with the software update.

  • PackageType
    Data type: UInt32

    Access type: Read/Write

    Qualifiers: [ResID(2801), ResDLL("SMS_RSTT.dll")]

    The type of package, as defined by the PackageType property of the SMS_PackageBaseclass Server WMI Class. The default value is 0.

  • PackageVersion
    Data type: UInt32

    Access type: Read/Write

    Qualifiers: [ResID(2802), ResDLL("SMS_RSTT.dll")]

    The version of the package. The default value is 0.

  • ProgramName
    Data type: String

    Access type: Read/Write

    Qualifiers: [key, ResID(901), ResDLL("SMS_RSTT.dll")]

    The name of the program to use for the software update, for example, "Notepad.exe". The default value is "".

  • UpdateID
    Data type: UInt32

    Access type: Read/Write

    Qualifiers: [key, ResID(2501), ResDLL("SMS_RSTT.dll")]

    The ID for the software update.

Remarks

Class qualifiers for this class include:

  • Read (read-only)

  • ResID(2800)

  • ResDLL("SMS_RSTT.dll")

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_PackageBaseclass Server WMI Class

Concepts

Software Updates Server WMI Classes
Configuration Manager Software Updates