IFsrmQuotaTemplateManager interface (fsrmquota.h)

[This interface is supported for compatibility but it's recommended to use the FSRM WMI Classes to manage FSRM. Please see the MSFT_FSRMQuota class.]

Used to manage quota templates.

To get this interface, call the CoCreateInstanceEx function. Use CLSID_FsrmQuotaTemplateManager as the class identifier and __uuidof(IFsrmQuotaTemplateManager) as the interface identifier. For an example, see Using Templates to Define Quotas.

Inheritance

The IFsrmQuotaTemplateManager interface inherits from the IDispatch interface. IFsrmQuotaTemplateManager also has these types of members:

Methods

The IFsrmQuotaTemplateManager interface has these methods.

 
IFsrmQuotaTemplateManager::CreateTemplate

Creates a quota template object.
IFsrmQuotaTemplateManager::EnumTemplates

Enumerates the quota templates on the server.
IFsrmQuotaTemplateManager::ExportTemplates

Exports the quota templates as an XML string.
IFsrmQuotaTemplateManager::GetTemplate

Retrieves the specified quota template.
IFsrmQuotaTemplateManager::ImportTemplates

Imports the specified quota templates from an XML string.

Remarks

Note that a new installation of the operating system includes FSRM-defined templates.

To create this object from a script, use the "Fsrm.FsrmQuotaTemplateManager" program identifier.

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)

See also

FSRM Interfaces

FsrmQuotaTemplateManager

MSFT_FSRMQuota