Partager via


FsrmQuotaManagerClass.GetRestrictiveQuota Method (String)

 

Retrieves the most restrictive quota for the specified path.

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

Syntax

public virtual IFsrmQuota GetRestrictiveQuota(
    string Path
)
public:
virtual IFsrmQuota^ GetRestrictiveQuota(
    String^ Path
)
abstract GetRestrictiveQuota : 
        Path:string -> IFsrmQuota
override GetRestrictiveQuota : 
        Path:string -> IFsrmQuota
Public Overridable 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.

Implements

IFsrmQuotaManager.GetRestrictiveQuota(String)

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
FsrmQuotaManagerClass Class
Microsoft.Storage Namespace

Return to top