IFsrmQuotaManager.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.StringA local directory path. The string is limited to 260 characters.
options
Type: Microsoft.Storage._FsrmEnumOptionsOptions to use when enumerating the quotas. For possible values, see the _FsrmEnumOptions enumeration.
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.
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
FsrmQuotaManager
IFsrmQuotaManager Interface
Microsoft.Storage Namespace
Return to top