Skip to content

Latest commit

 

History

History
101 lines (77 loc) · 4.55 KB

nf-fsrmquota-ifsrmquotatemplatemanager-importtemplates.md

File metadata and controls

101 lines (77 loc) · 4.55 KB
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.
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
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
IFsrmQuotaTemplateManager::ImportTemplates
fsrmquota/IFsrmQuotaTemplateManager::ImportTemplates
c++
APIRef
kbSyntax
COM
SrmSvc.dll
IFsrmQuotaTemplateManager.ImportTemplates
FsrmQuotaTemplateManager.ImportTemplates

IFsrmQuotaTemplateManager::ImportTemplates

-description

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

-parameters

-param serializedQuotaTemplates [in]

An XML string that represents one or more quota templates.

-param quotaTemplateNamesArray [in]

A variant that contains the names of the templates to import. If NULL, the method imports all templates.

-param quotaTemplates [out]

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.

-returns

The method returns the following return values.

-see-also

FsrmQuotaTemplateManager

IFsrmQuotaTemplateManager

MSFT_FSRMQuota