IFsrmQuota::QuotaPeakUsage 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 highest amount of disk space usage charged to this quota.

This property is read-only.

Syntax


HRESULT get_QuotaPeakUsage(
  [out] VARIANT *peakUsage
);

Property value

A VARIANT that contains the highest amount of disk space usage, in bytes, charged to this quota. The variant type is VT_DECIMAL. Use the ullVal member of the variant to access the value.

Error codes

The method returns the following return values.

S_OK

Success.

E_INVALIDARG

The peakUsage parameter cannot be NULL.

Remarks

The value represents the highest amount of disk space charged to this quota since the last call to IFsrmQuota::ResetPeakUsage. To reset this value, call the ResetPeakUsage method.

Examples

For an example, see Getting Current Usage Values.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008

Header

FsrmQuota.h

DLL

SrmSvc.dll

IID

IID_IFsrmQuota is defined as 377f739d-9647-4b8e-97d2-5ffce6d759cd

See also

IFsrmQuota
MSFT_FSRMQuota

 

 

Show: