The SMS_G_System_SoftwareUsageData Windows Management Instrumentation (WMI) class is an SMS Provider server class, in System Center 2012 Configuration Manager, that provides a view of raw metering data that combines file and user information with the raw data.
The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties.
Class SMS_G_System_SoftwareUsageData : SMS_G_System { String CompanyName; Boolean EndNotCaptured; DateTime EndTimeGMT; DateTime EndTimeLocal; String FileDescription; SInt64 FileID; String FileName; UInt32 FileSize; String FileVersion; Boolean InTSSession; String MeterDataID; UInt32 ProductLanguage; String ProductName; String ProductVersion; UInt32 ResourceID; Boolean StartNotCaptured; DateTime StartTimeGMT; DateTime StartTimeLocal; Boolean StillRunning; String UserName; }; |
Methods
The SMS_G_System_SoftwareUsageData class does not define any methods.
Properties
- CompanyName
- Data type: StringAccess type: Read/WriteQualifiers: NoneName of the company that made the file, taken from the Company property of the file version resources.
- EndNotCaptured
- Data type: BooleanAccess type: Read/WriteQualifiers: Nonetrue if the metering agent could not capture the actual end time of the process.
- EndTimeGMT
- Data type: DateTimeAccess type: Read/WriteQualifiers: [key]The date and time, in Universal Coordinated Time (UTC), when the process stopped running, if StillRunning is false. If it is true, EndTimeGMT indicates the time when the data was reported.
- EndTimeLocal
- Data type: DateTimeAccess type: Read/WriteQualifiers: NoneThe date and time, in the local time zone of the client, when the process stopped running, if StillRunning is false. If it is true, EndTimeLocal indicates the time when the data was reported.
- FileDescription
- Data type: StringAccess type: Read/WriteQualifiers: NoneDescription of the metered file, taken from the files version resources.
- FileID
- Data type: SInt64Access type: Read/WriteQualifiers: NoneID of the file that was metered. To find the file information, the application matches this property to the ID in SMS_ProductFileInfo Server WMI Class. To find the rules that caused the file to be metered, the application matches FileID to the ID in SMS_MeteredFiles Server WMI Class.
- FileName
- Data type: StringAccess type: Read/WriteQualifiers: NoneFile name of the metered file if the metering rule matched the file name. If it did not match, but the OriginalFileName property of the rule matched the original file name in the files version resources, this property represents the original file name.
- FileSize
- Data type: UInt32Access type: Read/WriteQualifiers: NoneSize of the metered file.
- FileVersion
- Data type: StringAccess type: Read/WriteQualifiers: NoneFile version of the metered file, taken from the file version resources.
- InTSSession
- Data type: BooleanAccess type: Read/WriteQualifiers: Nonetrue if the file was used in a Terminal Server session. Set this property to false if the file was used in a console session.
- MeterDataID
- Data type: StringAccess type: Read/WriteQualifiers: [key]Unique ID of a particular instance of a running process on a computer. A record with this ID is created every time the client reports on the same instance of a running program.
- ProductLanguage
- Data type: UInt32Access type: Read/WriteQualifiers: [Subtype("Locale Id")]Language ID of the metered file, taken from the file version resources.
- ProductName
- Data type: StringAccess type: Read/WriteQualifiers: NoneProduct name of the metered file, taken from the file version resources. This is not the product name of the rule that caused the file to be metered.
- ProductVersion
- Data type: StringAccess type: Read/WriteQualifiers: NoneProduct version of the metered file, taken from the file version resources.
- ResourceID
- Data type: UInt32Access type: Read/WriteQualifiers: [key]See SMS_G_System Server WMI Class.For this class, this property represents the ID of the computer that executed the metered program. To find the computer information, your application finds the record with the same resource ID in the SMS_R_System Server WMI Class class.
- StartNotCaptured
- Data type: BooleanAccess type: Read/WriteQualifiers: Nonetrue if the metering agent could not capture the actual start time of the process.
- StartTimeGMT
- Data type: DateTimeAccess type: Read/WriteQualifiers: NoneThe date and time, in Universal Coordinated Time (UTC), when the program started.
- StartTimeLocal
- Data type: DateTimeAccess type: Read/WriteQualifiers: NoneThe date and time, in the local time zone of the client, when the program started.
- StillRunning
- Data type: BooleanAccess type: Read/WriteQualifiers: Nonetrue if the program is still running. Set this property to false if EndTime represents the actual end time of the metered program.
- UserName
- Data type: StringAccess type: Read/WriteQualifiers: NoneFully qualified user name of the user of the metered application.
Remarks
There are no special class qualifiers for this class. For more information about both the class qualifiers and the property qualifiers included in the Properties section, see Configuration Manager Class and Property Qualifiers.
This class counts the number of distinct users and computers that used a metered file during a particular interval on a particular site.
Requirements
Runtime Requirements
For more information, see Configuration Manager Server Runtime Requirements.
Development Requirements
For more information, see Configuration Manager Server Development Requirements.