IFsrmQuotaBase::QuotaLimit 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 or sets the quota limit for the object.

This property is read/write.

Syntax


HRESULT put_QuotaLimit(
  [in]  VARIANT quotaLimit
);

HRESULT get_QuotaLimit(
  [out] VARIANT quotaLimit
);

Property value

The quota limit, in bytes, for the object. The minimum quota limit is 1,500 bytes.

The variant type is VT_UI8. Set the ullVal member of the variant to the limit.

Error codes

The method returns the following return values.

S_OK

Success.

FSRM_E_OUT_OF_RANGE

The quota value is less than the minimum allowed value.

E_INVALIDARG

The quotaLimit parameter is NULL.

Remarks

If the quota limit is enforced, an IO operation that exceeds the limit will fail.

Examples

For an example, see Using Templates to Define Quotas.

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: