UWF_ExcludedFileUWF_ExcludedFile
包含的文件和当前正在保护的统一写入筛选器 (UWF) 的卷的文件排除列表的文件夹。Contains the files and folders that are currently in the file exclusion list for a volume protected by Unified Write Filter (UWF).
语法Syntax
class UWF_ExcludedFile {
[Read] string FileName;
};
成员Members
下表列出的任何方法和属于此类的属性。The following tables list any methods and properties that belong to this class.
属性Properties
属性Property | 数据类型Data type | 限定符Qualifier | 描述Description |
---|---|---|---|
FileNameFileName |
字符串string |
[read][read] |
文件排除列表中,包括相对于卷的完整路径中的文件或文件夹路径的名称。The name of the file or folder path in the file exclusion list, including the full path relative to the volume. |
备注Remarks
UWF_ExcludedFile 不表示实际的 WMI 对象,并且您无法使用此类要获取或设置排除的文件。UWF_ExcludedFile does not represent an actual WMI object, and you cannot use this class to get or set file exclusions.
必须使用UWF_Volume.GetExclusions方法来检索 UWF_ExcludedFile 对象。You must use the UWF_Volume.GetExclusions method to retrieve UWF_ExcludedFile objects.
可以使用UWF_Volume.AddExclusion并UWF_Volume.RemoveExclusion方法来添加或删除到卷的文件和文件夹排除项。You can use the UWF_Volume.AddExclusion and UWF_Volume.RemoveExclusion methods to add or remove file and folder exclusions to a volume.
要求Requirements
Windows EditionWindows Edition | 支持Supported |
---|---|
Windows 10 家庭版Windows 10 Home | 否No |
Windows 10 专业版Windows 10 Pro | 否No |
Windows 10 企业版Windows 10 Enterprise | 是Yes |
Windows 10 教育版Windows 10 Education | 是Yes |
相关主题Related topics
统一写入筛选器 WMI 提供程序引用Unified Write Filter WMI provider reference