共用方式為


FsrmQuotaManagerClass.EnumEffectiveQuotas Method (String, _FsrmEnumOptions)

 

Enumerates all the quotas that affect the specified path.

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

Syntax

public virtual IFsrmCommittableCollection EnumEffectiveQuotas(
    string Path,
    _FsrmEnumOptions options = _FsrmEnumOptions.FsrmEnumOptions_None
)
public:
virtual IFsrmCommittableCollection^ EnumEffectiveQuotas(
    String^ Path,
    _FsrmEnumOptions options = _FsrmEnumOptions::FsrmEnumOptions_None
)
abstract EnumEffectiveQuotas : 
        Path:string *
        options:_FsrmEnumOptions = _FsrmEnumOptions.FsrmEnumOptions_None -> IFsrmCommittableCollection
override EnumEffectiveQuotas : 
        Path:string *
        options:_FsrmEnumOptions = _FsrmEnumOptions.FsrmEnumOptions_None -> IFsrmCommittableCollection
Public Overridable 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)

See Also

IFsrmQuotaManagerEx
FsrmQuotaManager
FsrmQuotaManagerClass Class
Microsoft.Storage Namespace

Return to top