UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:fsrmquota.IFsrmQuotaTemplateManager.ImportTemplates |
IFsrmQuotaTemplateManager::ImportTemplates (fsrmquota.h) |
Imports the specified quota templates from an XML string. |
|
fsrm\ifsrmquotatemplatemanager_importtemplates.htm |
fsrm |
f530d7fc-8b41-4a5e-a10a-b9211c7fe2bb |
12/05/2018 |
FsrmQuotaTemplateManager class [File Server Resource Manager],ImportTemplates method, IFsrmQuotaTemplateManager interface [File Server Resource Manager],ImportTemplates method, IFsrmQuotaTemplateManager.ImportTemplates, IFsrmQuotaTemplateManager::ImportTemplates, ImportTemplates, ImportTemplates method [File Server Resource Manager], ImportTemplates method [File Server Resource Manager],FsrmQuotaTemplateManager class, ImportTemplates method [File Server Resource Manager],IFsrmQuotaTemplateManager interface, fs.ifsrmquotatemplatemanager_importtemplates, fsrm.ifsrmquotatemplatemanager_importtemplates, fsrmquota/IFsrmQuotaTemplateManager::ImportTemplates |
fsrmquota.h |
FsrmQuota.h, FsrmTlb.h |
Windows |
None supported |
Windows Server 2008 |
SrmSvc.dll |
Windows |
19H1 |
|
|
|
|
|
|
[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.]
Imports the specified quota templates from an XML string.
An XML string that represents one or more quota templates.
A variant that contains the names of the templates to import. If NULL, the method imports all templates.
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 IFsrmQuotaTemplateImported interface.
To add the templates to FSRM, call the IFsrmCommittableCollection::Commit method. To add the templates to FSRM and propagate the changes to objects that were derived from the template, call the IFsrmFileScreenTemplateImported::CommitAndUpdateDerived method on each item in the collection.
The method returns the following return values.