OverviewExamples
table MSI.GetFeatureUsage ( |
Calls the MsiGetFeatureUsage function to get the usage metrics for a product feature.
(string) The "product code" of the product containing the feature. This string must be an identifier string enclosed in curly braces, for example: "{78B82B0B-9AD9-40C0-B994-F72C21B52723}".
(string) The identifier of the feature whose metrics you want.
(table) Returns a table indexed by the following values. If this action fails or an error occurs, nil is returned:
KEY |
TYPE |
DESCRIPTION |
UsageCount |
number |
The number of times the feature has been used. |
Day |
number |
The day of the month the feature was last used (1-31). |
Month |
number |
The month the feature was last used (1 = January, 2 = February etc.). |
Year |
number |
The year the feature was last used. |
If the action fails, nil is returned. You can use Application.GetLastError to determine whether this action failed, and why.
When adding an action with the action editor, you can use this field to specify a variable that the return value will be stored in.
See also: Related Actions