共用方式為


IFsrmQuotaTemplateManager.EnumTemplates Method (_FsrmEnumOptions)

 

Enumerates the quota templates on the server.

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

Syntax

IFsrmCommittableCollection EnumTemplates(
    _FsrmEnumOptions options = _FsrmEnumOptions.FsrmEnumOptions_None
)
IFsrmCommittableCollection^ EnumTemplates(
    _FsrmEnumOptions options = _FsrmEnumOptions::FsrmEnumOptions_None
)
abstract EnumTemplates : 
        options:_FsrmEnumOptions = _FsrmEnumOptions.FsrmEnumOptions_None -> IFsrmCommittableCollection
Function EnumTemplates (
    options As _FsrmEnumOptions
) As IFsrmCommittableCollection

Parameters

Return Value

Type: Microsoft.Storage.IFsrmCommittableCollection

A IFsrmCommittableCollection 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.

See Also

FsrmQuotaTemplateManager
IFsrmQuotaTemplateManager Interface
Microsoft.Storage Namespace

Return to top