MSFT_FSRMQuotaTemplate class
Used to configure templates from which new quota objects can be derived. Templates are identified by a name and are used to simplify the configuration of directory quotas.
The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.
Syntax
[dynamic, provider("FSRMWmiProvider")]
class MSFT_FSRMQuotaTemplate
{
string Name;
string Description = "";
uint64 Size;
boolean SoftLimit = False;
boolean UpdateDerived;
boolean UpdateDerivedMatching;
MSFT_FSRMQuotaThreshold Threshold[] = {};
};
Members
The MSFT_FSRMQuotaTemplate class has these types of members:
Properties
The MSFT_FSRMQuotaTemplate class has these properties.
-
Description
-
-
Data type: string
-
Access type: Read/write
A string up to 1KB in size. Optional. The default value is an empty string.
-
-
Name
-
-
Data type: string
-
Access type: Read/write
-
Qualifiers: key
A unique string that represents a quota template on the server. May be up to 1KB in size. Required.
-
-
Size
-
-
Data type: uint64
-
Access type: Read/write
The size of the quota. Required.
-
-
SoftLimit
-
-
Data type: boolean
-
Access type: Read/write
If True, the quota is a soft limit. If False, the quota is a hard limit. The default value is False. Optional.
-
-
Threshold
-
-
Data type: MSFT_FSRMQuotaThreshold array
-
Access type: Read/write
-
Qualifiers: EmbeddedInstance ("MSFT_FSRMQuotaThreshold")
A list of instance of the MSFT_FSRMQuotaThreshold class representing quota threshold objects with no more than 16 entries. Optional. The default value is an empty list.
-
-
UpdateDerived
-
-
Data type: boolean
-
Access type: Read/write
Apply changes to all derived quotas, whether their properties match the templates or not.
-
-
UpdateDerivedMatching
-
-
Data type: boolean
-
Access type: Read/write
If True, applies changes to derived quotas only if the quota's properties match the quota template's properties.
Note that the comparison is made against the quota template as it exists in the database, not a local copy that has not been committed.
-
Requirements
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2012 |
Namespace |
Root\Microsoft\Windows\FSRM |
MOF |
|
DLL |
|