包含的文件和当前正在保护的统一写入筛选器 (UWF) 的卷的文件排除列表的文件夹。Contains the files and folders that are currently in the file exclusion list for a volume protected by Unified Write Filter (UWF).


class UWF_ExcludedFile {
    [Read] string FileName;


下表列出的任何方法和属于此类的属性。The following tables list any methods and properties that belong to this class.


属性Property 数据类型Data type 限定符Qualifier 描述Description




文件排除列表中,包括相对于卷的完整路径中的文件或文件夹路径的名称。The name of the file or folder path in the file exclusion list, including the full path relative to the volume.


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.AddExclusionUWF_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.


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

统一写入筛选器 WMI 提供程序引用Unified Write Filter WMI provider reference

统一的写入筛选器Unified Write Filter