SMS_G_System_Current Server WMI Class
Applies To: System Center 2012 Configuration Manager, System Center 2012 Configuration Manager SP1, System Center 2012 R2 Configuration Manager
The SMS_G_System_Current Windows Management Instrumentation (WMI) class is an SMS Provider server class, in System Center 2012 R2 Configuration Manager, that serves as an abstract base class and represents the current client state at the time of the last hardware inventory.
The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties.
Syntax
Class SMS_G_System_Current : SMS_G_System
{
UInt32 GroupID;
UInt32 ResourceID;
UInt32 RevisionID;
DateTime TimeStamp;
};
Methods
The SMS_G_System_Current class does not define any methods.
Properties
GroupID
Data type: UInt32Access type: Read/Write
Qualifiers: [key]
ID of the group that distinguishes one hardware inventory instance from another within one client resource. For example, each logical disk instance for a client is assigned a unique GroupID value.
ResourceID
Data type: UInt32Access type: Read/Write
Qualifiers: None
See SMS_G_System Server WMI Class.
For this class, the default value of this property is null.
RevisionID
Data type: UInt32Access type: Read/Write
Qualifiers: None
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: DateTimeAccess type: Read/Write
Qualifiers: None
Date and time of the inventory.
Remarks
Class qualifiers for this class include:
- Abstract
For more information about both the class qualifiers and the property qualifiers included in the Properties section, see Configuration Manager Class and Property Qualifiers.
Your application can query classes derived from SMS_G_System_Current to get the current state of individual client hardware components. Alternatively the application can query SMS_G_System_Current itself to get the current state of all client hardware components. For example, the following query retrieves all hardware components for the given client.
SELECT * FROM SMS_G_System_Current
WHERE ResourceID = <resourceid>
Although using this query is a simple solution for getting all the hardware components for a client, it is inefficient. WMI turns the query into multiple queries, one for each subclass, and creates a thread for each query. If performance is critical, your application should query each subclass specifically.
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
Configuration Manager Resource Management Server WMI Classes
SMS_G_System Server WMI Class