共用方式為


SMS_G_System_History 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_G_System_History Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that serves as an abstract base class representing hardware component state history for a client computer.

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

Class SMS_G_System_History : SMS_G_System
{
     UInt32 GroupID;
     UInt32 ResourceID;
     UInt32 RevisionID;
     DateTime TimeStamp;
};

Methods

The SMS_G_System_History class does not define any methods.

Properties

  • GroupID
    Data type: UInt32

    Access type: Read-only

    Qualifiers: [key]

    ID of the group that distinguishes one hardware inventory instance from another within one client resource. For example, each logical disk object for a client is assigned a unique GroupID value.

  • RevisionID
    Data type: UInt32

    Access type: Read-only

    Qualifiers: [key]

    ID that increments if the object changes after the last time inventory was taken. The highest number indicates the most recent update. Objects with the same ResourceID and GroupID values are deltas. They differ from one another by the RevisionID number.

  • TimeStamp
    Data type: DateTime

    Access type: Read-only

    Qualifiers: None

    Date and time of the inventory.

Remarks

History objects are created from the current hardware component object when the component has changed since the last inventory. This class represents a collection of prior hardware component states for the client.

Your application uses this class to determine the state of client hardware at any given time. Names of derived history classes are prefixed with "SMS_GEH_System_" followed by the inventoried object name. An example class name is SMS_GEH_System_ACCOUNT. Your application can use the derived classes to determine the state of a hardware component on a client at a given point in time.

Hardware history is deleted on a schedule if the Delete Aged Inventory History database maintenance task is set to true in the Configuration Manager console. You can also enable this task and set the schedule by updating the site control file. The site control item SMS_SCI_SQLTask Server WMI Class object, and the TaskName value is "Delete Aged Inventory History". For an example that updates the site control file, see Configuration Manager Site Control File.

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

Concepts

Resource Management Server WMI Classes
SMS_G_System Server WMI Class