IFsrmQuotaBase::EnumThresholdActions method

[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

threshold [in]

The threshold that contains the actions that you want to enumerate.

actions [out]

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.

Return codeDescription
S_OK

Success

FSRM_E_OUT_OF_RANGE

The threshold value is out of range.

FSRM_E_NOT_FOUND

The specified threshold was not found.

E_INVALIDARG

The actions parameter is NULL.

 

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008

Header

FsrmQuota.h

DLL

SrmSvc.dll

IID

IID_IFsrmQuotaBase is defined as 1568a795-3924-4118-b74b-68d8f0fa5daf

See also

IFsrmQuotaBase
MSFT_FSRMQuota

 

 

Show:
© 2014 Microsoft