IFsrmQuotaManager.GetRestrictiveQuota Method (String)

 

Retrieves the most restrictive quota for the specified path.

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

Syntax

IFsrmQuota GetRestrictiveQuota(
    string Path
)
IFsrmQuota^ GetRestrictiveQuota(
    String^ Path
)
abstract GetRestrictiveQuota : 
        Path:string -> IFsrmQuota
Function GetRestrictiveQuota (
    Path As String
) As IFsrmQuota

Parameters

  • Path
    Type: System.String

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

Return Value

Type: Microsoft.Storage.IFsrmQuota

Returns a IFsrmQuota interface to the quota object.

Remarks

The most restrictive quota is the one with the lowest quota limit. If a quota higher in the directory tree has a lower limit than the quota associated with the specified path, the former quota is returned. If two quotas have the same limit, the quota that is higher in the directory tree is returned.

See Also

IFsrmQuotaManagerEx
FsrmQuotaManager
IFsrmQuotaManager Interface
Microsoft.Storage Namespace

Return to top