다음을 통해 공유


IFsrmQuotaObject Interface

 

Base class for the quota and automatic quota interfaces.

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

Syntax

[GuidAttribute("42DC3511-61D5-48AE-B6DC-59FC00C0A8D6")]
public interface IFsrmQuotaObject : IFsrmQuotaBase
[GuidAttribute("42DC3511-61D5-48AE-B6DC-59FC00C0A8D6")]
public interface class IFsrmQuotaObject : IFsrmQuotaBase
[<GuidAttribute("42DC3511-61D5-48AE-B6DC-59FC00C0A8D6")>]
type IFsrmQuotaObject = 
    interface
        interface IFsrmQuotaBase
    end
<GuidAttribute("42DC3511-61D5-48AE-B6DC-59FC00C0A8D6")>
Public Interface IFsrmQuotaObject
    Inherits IFsrmQuotaBase

Properties

Name Description
System_CAPS_pubproperty Description

Retrieves or sets the description of the object.

System_CAPS_pubproperty id

Retrieves the identifier of the object.

System_CAPS_pubproperty MatchesSourceTemplate

Retrieves a value that determines whether the property values of this quota object match those of the template from which it was derived.

System_CAPS_pubproperty Path

Retrieves the path to which the quota applies.

System_CAPS_pubproperty QuotaFlags

Retrieves or sets the quota flags for the object.

System_CAPS_pubproperty QuotaLimit

Retrieves or sets the quota limit for the object.

System_CAPS_pubproperty SourceTemplateName

Retrieves the name of the template from which this quota was derived.

System_CAPS_pubproperty Thresholds

Retrieves the thresholds for the quota object.

System_CAPS_pubproperty UserAccount

Retrieves the string form of the user account that is associated with the object.

System_CAPS_pubproperty UserSid

Retrieves the string form of the user's security identifier (SID) that is associated with the object.

Methods

Name Description
System_CAPS_pubmethod AddThreshold(Int32)

Adds a threshold to the quota object.

System_CAPS_pubmethod ApplyTemplate(String)

Applies the property values of the specified quota template to this quota object.

System_CAPS_pubmethod Commit()

Saves the quota object in the server's list of objects.

System_CAPS_pubmethod CreateThresholdAction(Int32, _FsrmActionType)

Creates an action and associates it with the specified threshold on the quota object.

System_CAPS_pubmethod Delete()

Removes the quota object from the server's list of objects.

System_CAPS_pubmethod DeleteThreshold(Int32)

Deletes a threshold from the quota object.

System_CAPS_pubmethod EnumThresholdActions(Int32)

Enumerates all the actions for the specified threshold of the quota object.

System_CAPS_pubmethod ModifyThreshold(Int32, Int32)

Changes the threshold of the quota object.

See Also

Microsoft.Storage Namespace

Return to top