The SMS_MonthlyUsageSummary Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that represents a monthly usage summary for a particular file.

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

Class SMS_MonthlyUsageSummary : SMS_BaseClass
{
	UInt32 FileID;
	DateTime LastUsage;
	UInt32 MeteredUserID;
	UInt32 ResourceID;
	UInt32 TimeKey;
	UInt32 TSUsageCount;
	UInt32 UsageCount;
	UInt32 UsageTime;
};

Methods

The SMS_MonthlyUsageSummary class does not define any methods.

Properties

FileID


Data type: UInt32Access type: Read/WriteQualifiers: [key, ResID(2302), ResDLL("SMS_RSTT.dll")]File ID for the summarized file.
LastUsage


Data type: DateTimeAccess type: Read/WriteQualifiers: [ResID(2404), ResDLL("SMS_RSTT.dll")]Date and time when the metered file was last used during the month.
MeteredUserID


Data type: UInt32Access type: Read/WriteQualifiers: [key, ResID(1906), ResDLL("SMS_RSTT.dll")]ID of the user of the metered file. This matches the MeteredUserID property in SMS_MeteredUser Server WMI Class.
ResourceID


Data type: UInt32Access type: Read/WriteQualifiers: [key, ResID(1905), ResDLL("SMS_RSTT.dll")]ID of the computer using the metered file. This ID matches the ResourceId property in SMS_R_System Server WMI Class.
TimeKey


Data type: UInt32Access type: Read/WriteQualifiers: [key, ResID(2201), ResDLL("SMS_RSTT.dll")]Month that the summary data represents, encoded as an integer Year*100+Month. This property also matches the time key in the SMS_SummarizationInterval Server WMI Class class.
TSUsageCount


Data type: UInt32Access type: Read/WriteQualifiers: [ResID(2402), ResDLL("SMS_RSTT.dll")]Number of times that the summarized file was used under a Terminal Services session during the month.
UsageCount


Data type: UInt32Access type: Read/WriteQualifiers: [ResID(2401), ResDLL("SMS_RSTT.dll")]Number of times that the summarized file was used in a Configuration Manager console session during the month.
UsageTime


Data type: UInt32Access type: Read/WriteQualifiers: [ResID(2403), ResDLL("SMS_RSTT.dll")]Total amount of time, in seconds, that the summarized file was used during the month.

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 compiles data about a file running on a particular computer by a particular user during a calendar month. TSUsageCount and UsageCount represent the number of times the summarized file was used during a month. For example, a file could have been opened in the month of May and terminated in June. In this case, both May and June have a usage count of 1 for this file although it was only started in May.

Requirements

Runtime Requirements

Development Requirements

See Also


Send comments about this topic to Microsoft.