IFsrmQuotaTemplateManager interface

[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.

Members

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

Methods

The IFsrmQuotaTemplateManager interface has these methods.

MethodDescription
CreateTemplate

Creates a quota template object.

EnumTemplates

Enumerates the quota templates on the server.

ExportTemplates

Exports the quota templates as an XML string.

GetTemplate

Retrieves the specified quota template.

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

Minimum supported client

None supported

Minimum supported server

Windows Server 2008

Header

FsrmQuota.h (include FsrmQuota.h or FsrmTlb.h)

DLL

SrmSvc.dll

CLSID

CLSID_FsrmQuotaTemplateManager is defined as 97d3d443-251c-4337-81e7-b32e8f4ee65e

IID

IID_IFsrmQuotaTemplateManager is defined as 4173ac41-172d-4d52-963c-fdc7e415f717

See also

FSRM Interfaces
FsrmQuotaTemplateManager
MSFT_FSRMQuota

 

 

Show:
© 2014 Microsoft