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

Retrieves the specified quota template.

Syntax

HRESULT GetTemplate(
  [in]  BSTR               name,
  [out] IFsrmQuotaTemplate **quotaTemplate
);

Parameters

[in] name

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

[out] quotaTemplate

An IFsrmQuotaTemplate interface to the retrieved template object.

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