共用方式為


IFsrmQuotaTemplateManager Interface

 

Used to manage quota templates.

Namespace:   Microsoft.Storage
Assembly:  srmlib (in srmlib.dll)

Syntax

[GuidAttribute("4173AC41-172D-4D52-963C-FDC7E415F717")]
public interface IFsrmQuotaTemplateManager
[GuidAttribute("4173AC41-172D-4D52-963C-FDC7E415F717")]
public interface class IFsrmQuotaTemplateManager
[<GuidAttribute("4173AC41-172D-4D52-963C-FDC7E415F717")>]
type IFsrmQuotaTemplateManager = interface end
<GuidAttribute("4173AC41-172D-4D52-963C-FDC7E415F717")>
Public Interface IFsrmQuotaTemplateManager

Methods

Name Description
System_CAPS_pubmethod CreateTemplate()

Creates a quota template object.

System_CAPS_pubmethod EnumTemplates(_FsrmEnumOptions)

Enumerates the quota templates on the server.

System_CAPS_pubmethod ExportTemplates(Object)

Exports the quota templates as an XML string.

System_CAPS_pubmethod GetTemplate(String)

Retrieves the specified quota template.

System_CAPS_pubmethod ImportTemplates(String, Object)

Imports the specified quota templates from an XML string.

Remarks

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.

See Also

FsrmQuotaTemplateManager
Microsoft.Storage Namespace

Return to top