Windows Dev Center

IFsrmQuotaBase::Thresholds property

[This property is supported for compatibility but it's recommended to use the FSRM WMI Classes to manage FSRM. Please see the MSFT_FSRMQuota class.]

Retrieves the thresholds for the quota object.

This property is read-only.

Syntax


HRESULT get_Thresholds(
  [out] SAFEARRAY(VARIANT) thresholds
);

Property value

The thresholds for the quota object. Each item in the SAFEARRAY is a VARIANT of type VT_I4. Use the lVal member of the variant to access the threshold. The array is empty if no thresholds were set.

Error codes

The method returns the following return values.

NameMeaning
S_OK

Success.

E_INVALIDARG

The thresholds parameter is NULL.

Remarks

To set a threshold, call the IFsrmQuotaBase::AddThreshold method.

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:
© 2015 Microsoft