IFsrmQuotaTemplate::CopyTemplate 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.]

Copies the property values of the specified template to this template.

Syntax

HRESULT CopyTemplate(
  [in] BSTR quotaTemplateName
);

Parameters

[in] quotaTemplateName

The name of the template from which to copy the property values. 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

IFsrmQuotaTemplate

MSFT_FSRMQuota