IFsrmQuotaTemplateImported::OverwriteOnCommit 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 a value that determines whether a quota template is overwritten if it exists when the template is imported.

This property is read/write.

Syntax


HRESULT put_OverwriteOnCommit(
  [in]   VARIANT_BOOL overwrite
);

HRESULT get_OverwriteOnCommit(
  [out]  VARIANT_BOOL overwrite
);

Property value

Set to VARIANT_TRUE to overwrite a quota template if it exists; otherwise, set to VARIANT_FALSE. The default is VARIANT_FALSE.

Error codes

The method returns the following return values.

NameMeaning
S_OK

Success

E_INVALIDARG

The overwrite parameter is NULL.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008

Header

FsrmQuota.h

DLL

SrmSvc.dll

IID

IID_IFsrmQuotaTemplateImported is defined as 9a2bf113-a329-44cc-809a-5c00fce8da40

See also

IFsrmQuotaTemplateImported
MSFT_FSRMQuota

 

 

Show:
© 2014 Microsoft