IFsrmQuotaTemplateManager::CreateTemplate 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.]

Creates a quota template object.

Syntax

HRESULT CreateTemplate(
  [out] IFsrmQuotaTemplate **quotaTemplate
);

Parameters

[out] quotaTemplate

An IFsrmQuotaTemplate interface to the newly create template. To add the template to FSRM, call IFsrmQuotaTemplate::Commit method.

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 (include FsrmQuota.h, FsrmTlb.h)
DLL SrmSvc.dll

See also

FsrmQuotaTemplateManager

IFsrmQuotaTemplateManager

MSFT_FSRMQuota