IFsrmQuotaBase::DeleteThreshold 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.]

Deletes a threshold from the quota object.

Syntax


HRESULT DeleteThreshold(
  [in]  FSRM_QUOTA_THRESHOLD threshold
);

Parameters

threshold [in]

The threshold to delete.

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.

 

Remarks

All the actions associated with the threshold are also deleted. Note that the actions are not deleted until the IFsrmQuotaBase::Commit method is called.

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