Share via


IFsrmQuotaManagerEx.EnumEffectiveQuotas Method (String, _FsrmEnumOptions)

 

Enumerates all the quotas that affect the specified path.

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

Syntax

IFsrmCommittableCollection EnumEffectiveQuotas(
    string Path,
    _FsrmEnumOptions options = _FsrmEnumOptions.FsrmEnumOptions_None
)
IFsrmCommittableCollection^ EnumEffectiveQuotas(
    String^ Path,
    _FsrmEnumOptions options = _FsrmEnumOptions::FsrmEnumOptions_None
)
abstract EnumEffectiveQuotas : 
        Path:string *
        options:_FsrmEnumOptions = _FsrmEnumOptions.FsrmEnumOptions_None -> IFsrmCommittableCollection
Function EnumEffectiveQuotas (
    Path As String,
    options As _FsrmEnumOptions
) As IFsrmCommittableCollection

Parameters

  • Path
    Type: System.String

    A local directory path. The string is limited to 260 characters.

Return Value

Type: Microsoft.Storage.IFsrmCommittableCollection

Returns a IFsrmCommittableCollection interface that contains a collection of the quotas configured at or above the specified path.

Each item of the collection is a VARIANT of type VT_DISPATCH. Query the pdispVal member of the variant for the IFsrmQuota interface.

The collection is empty if the path does not contain quotas.

Implements

IFsrmQuotaManager.EnumEffectiveQuotas(String, _FsrmEnumOptions)

Remarks

Does not enumerate automatic quotas. To enumerate automatic quotas, call the EnumAutoApplyQuotas method.

To enumerate all quotas, call the EnumQuotas method

See Also

IFsrmQuotaManagerEx Interface
Microsoft.Storage Namespace

Return to top