IFsrmQuotaTemplateManager::CreateTemplate method
[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.]
Creates a quota template object.
Syntax
HRESULT CreateTemplate( [out] IFsrmQuotaTemplate **quotaTemplate );
Parameters
- quotaTemplate [out]
-
An IFsrmQuotaTemplate interface to the newly create template. To add the template to FSRM, call IFsrmQuotaTemplate::Commit method.
Return value
The method returns the following return values.
| Return code | Description |
|---|---|
|
Success |
|
The quotaTemplate parameter is NULL. |
Examples
For an example, see Using Templates to Define Quotas.
Requirements
|
Minimum supported client | None supported |
|---|---|
|
Minimum supported server | Windows Server 2008 |
|
Header |
|
|
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
Send comments about this topic to Microsoft
Build date: 12/6/2012