IFsrmQuotaTemplate::CommitAndUpdateDerived method (fsrmquota.h)

[This method is supported for compatibility but it's recommended to use the FSRM WMI Classes to manage FSRM. Please see the MSFT_FSRMQuota class.]

Saves the quota template and then applies any changes to the derived quota objects.

Syntax

HRESULT CommitAndUpdateDerived(
  [in]  FsrmCommitOptions         commitOptions,
  [in]  FsrmTemplateApplyOptions  applyOptions,
  [out] IFsrmDerivedObjectsResult **derivedObjectsResult
);

Parameters

[in] commitOptions

The options for saving the template. For possible values, see the FsrmCommitOptions enumeration.

[in] applyOptions

The options used to choose the derived objects to which the changes are applied. For possible values, see the FsrmTemplateApplyOptions enumeration.

[out] derivedObjectsResult

An IFsrmDerivedObjectsResult interface that you use to determine the list of derived objects that were updated and whether the update was successful.

Return value

The method returns the following return values.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows ServerĀ 2008
Target Platform Windows
Header fsrmquota.h
DLL SrmSvc.dll

See also

IFsrmQuotaTemplate

MSFT_FSRMQuota