IFsrmQuotaObject::ApplyTemplate 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.]

Applies the property values of the specified quota template to this quota object.

Syntax

HRESULT ApplyTemplate(
  [in] BSTR quotaTemplateName
);

Parameters

[in] quotaTemplateName

The name of the quota template. The string is limited to 4,000 characters.

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

IFsrmQuotaObject

MSFT_FSRMQuota