IFsrmQuotaBase::EnumThresholdActions method (fsrmquota.h)
[This method is supported for compatibility but it's recommended to use the FSRM WMI Classes to manage FSRM. Please see the MSFT_FSRMQuota class.]
Enumerates all the actions for the specified threshold.
Syntax
HRESULT EnumThresholdActions(
[in] FSRM_QUOTA_THRESHOLD threshold,
[out] IFsrmCollection **actions
);
Parameters
[in] threshold
The threshold that contains the actions that you want to enumerate.
[out] actions
An IFsrmCollection interface that contains a collection of actions. The variant type of each item in the collection is VT_DISPATCH. Query the pdispVal member of the variant to get an IFsrmAction interface. You can use the IFsrmAction::ActionType property to determine the actual action interface to query.
Return value
The method returns the following return values.
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | fsrmquota.h |
DLL | SrmSvc.dll |