Partager via


IFsrmQuotaManager.CreateQuota Method (String)

 

Creates a quota for the specified directory.

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

Syntax

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

Parameters

  • Path
    Type: System.String

    The local directory path to which the quota applies. The string is limited to 260 characters.

Return Value

Type: Microsoft.Storage.IFsrmQuota

Returns a IFsrmQuota interface to the newly created quota object. Use this interface to define the quota. To add the quota to FSRM, call the Commit method.

See Also

IFsrmQuotaManagerEx
FsrmQuotaManager
IFsrmQuotaManager Interface
Microsoft.Storage Namespace

Return to top