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

Changes the threshold value.

Syntax


HRESULT ModifyThreshold(
  [in]  FSRM_QUOTA_THRESHOLD threshold,
  [in]  FSRM_QUOTA_THRESHOLD newThreshold
);

Parameters

threshold [in]

The previous threshold value.

newThreshold [in]

The new threshold value. The value must be from 1 through 250, inclusively.

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_ALREADY_EXISTS

The threshold value already exists.

FSRM_E_NOT_FOUND

The specified threshold was not found.

 

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