IFsrmQuotaBase::QuotaFlags 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 flags for the object.

This property is read/write.

Syntax


HRESULT put_QuotaFlags(
  [in]  long quotaFlags
);

HRESULT get_QuotaFlags(
  [out] long *quotaFlags
);

Property value

The quota flags for the object. For possible values, see the FsrmQuotaFlags enumeration. The default is zero, which means the server will not fail violating IO operations, but will still run any action associated with the quota limit.

Error codes

The method returns the following return values.

S_OK

Success.

E_INVALIDARG

The quotaFlags parameter is NULL or not valid.

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: