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

Exports the quota templates as an XML string.

Syntax

HRESULT ExportTemplates(
  [in]  VARIANT *quotaTemplateNamesArray,
  [out] BSTR    *serializedQuotaTemplates
);

Parameters

[in] quotaTemplateNamesArray

A variant that contains the names of the quota templates to export. If NULL, the method exports all quotas.

[out] serializedQuotaTemplates

The specified templates in XML format.

Return value

The method returns the following return values.

Remarks

Typically, you use this method to save the templates to a file. You can then copy the file to another computer and call the IFsrmQuotaTemplateManager::ImportTemplates method to import the templates.

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