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

This property is read-only.

Syntax


HRESULT get_QuotaUsed(
  [out] VARIANT *used
);

Property value

A variant that contains the current 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 used parameter cannot be NULL.

Remarks

The value is the total disk space usage for the directory and all its subdirectories (recursively). Files, directories, streams, metadata, and other file system–specific means of persisting data are used in determining the usage.

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: