IFsrmQuotaTemplateManager::EnumTemplates 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.]
Enumerates the quota templates on the server.
Syntax
HRESULT EnumTemplates(
[in] FsrmEnumOptions options,
[out] IFsrmCommittableCollection **quotaTemplates
);
Parameters
[in] options
Options to use when enumerating the quota templates. For possible values, see the FsrmEnumOptions enumeration.
[out] quotaTemplates
An IFsrmCommittableCollection interface that contains a collection of quota templates.
Each item of the collection is a VARIANT of type VT_DISPATCH. Query the pdispVal member of the variant for the IFsrmQuotaTemplate interface.
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 |