// Copyright (c) 1997-2003 Microsoft Corporation, All Rights Reserved #pragma autorecover #pragma classflags(64) #pragma namespace("\\\\.\\Root\\CIMV2") instance of __namespace{ name="ms_804";}; #pragma namespace("\\\\.\\Root\\CIMV2\\ms_804") #pragma deleteclass("Win32_QuotaSettings",NOFAIL) [Description("Win32_DiskQuota 关联类跟踪用于 NTFS 卷的磁盘空间使用量。系统管理员可以将 Windows 配置为在用户超过指定的磁盘空间限制时阻止进一步使用磁盘空间并记录事件。他们也可以在用户超过指定的磁盘空间警告级别时记录事件。请注意,无法为管理员帐户自身设置磁盘配额。") : Amended ToSubclass,AMENDMENT, LOCALE(0x0804) : ToInstance] class Win32_DiskQuota { [key : ToInstance ToSubclass DisableOverride,Description("QuotaVolume 引用表示具有磁盘配额的磁盘卷。") : Amended ToSubclass] Win32_LogicalDisk Ref QuotaVolume; [key : ToInstance ToSubclass DisableOverride,Description("User 引用表示与磁盘配额关联的用户帐户。") : Amended ToSubclass] Win32_Account Ref User; [Description("Status 属性指示磁盘配额的当前状态。") : Amended ToSubclass,Values{"正常", "警告", "已超出"} : Amended ToSubclass] uint32 Status; [Units("字节") : Amended ToSubclass,Description("Limit 属性指示为此特定用户或组设置的限制。") : Amended ToSubclass] uint64 Limit; [Units("字节") : Amended ToSubclass,Description("WarningLimit 属性指示为此特定用户或组设置的警告限制。") : Amended ToSubclass] uint64 WarningLimit; [Units("字节") : Amended ToSubclass,Description("DiskSpaceUsed 属性指示此特定用户或组当前正在使用的字节数。") : Amended ToSubclass] uint64 DiskSpaceUsed; }; [Description("Win32_QuotaSetting 类包含卷上的磁盘配额的设置信息。") : Amended ToSubclass,AMENDMENT, LOCALE(0x0804) : ToInstance] class Win32_QuotaSetting : CIM_Setting { [key : ToInstance ToSubclass DisableOverride,Description("VolumePath 属性指示磁盘配额所在的卷的名称。它可以是卷名、卷路径(例如 D:\\),也可以是唯一卷名,如 \\\\?Volume{GUID}\\。") : Amended ToSubclass] string VolumePath; [Description("State 属性指示为此特定卷设置的配额管理级别。“已禁用”指示在此卷上未启用配额管理。“已跟踪”指示已对配额进行跟踪但未强制实施限制值,用户可以超过其配额限制。“已强制”指示已在此卷上跟踪并强制实施配额。") : Amended ToSubclass,Values{"已禁用", "已跟踪", "已强制"} : Amended ToSubclass] uint32 State; [Units("字节") : Amended ToSubclass,Description("DefaultLimit 属性指示为此特定卷上的配额设置的默认限制。") : Amended ToSubclass] sint64 DefaultLimit; [Units("字节") : Amended ToSubclass,Description("DefaultWarningLimit 属性指示为此特定卷上的配额设置的默认警告限制。") : Amended ToSubclass] sint64 DefaultWarningLimit; [Description("ExceedNotification 属性指示当超出配额限制时是否将事件写入到事件日志。") : Amended ToSubclass] boolean ExceededNotification; [Description("WarningExceedNotification 属性指示当超出警告限制时是否将事件写入到事件日志。") : Amended ToSubclass] boolean WarningExceededNotification; }; [Description("Win32_VolumeQuotaSetting 类将磁盘配额设置与特定磁盘卷相关联。") : Amended ToSubclass,AMENDMENT, LOCALE(0x0804) : ToInstance] class Win32_VolumeQuotaSetting : CIM_ElementSetting { [key : ToInstance ToSubclass DisableOverride,Description("关联的磁盘配额设置所对应的 DiskVolume。") : Amended ToSubclass] Win32_LogicalDisk Ref Element; [key : ToInstance ToSubclass DisableOverride,Description("与引用的 LogicalDisk 关联的 QuotaSetting。") : Amended ToSubclass] Win32_QuotaSetting Ref Setting; };