共用方式為


UWF_Volume.GetExclusions

取得統一寫入篩選器 (UWF) 受保護磁碟區的所有檔案排除清單。

語法

UInt32 GetExclusions(
    [out, EmbeddedInstance("UWF_ExcludedFile")] string ExcludedFiles[]
);

參數

ExcludedFiles
[out] UWF_ExcludedFile 對象的陣列,代表從磁碟區之 UWF 篩選中排除的檔案和資料夾。

傳回值

傳回指出 WMI 狀態WMI 錯誤常數的 HRESULT 值。

備註

如果 GetExclusions 在磁碟區的檔案排除清單中找不到任何檔案或資料夾, GetExclusions 會將 ExcludedFiles 參數設定為 null。

需求

Windows 版本 支援
Windows 首頁
Windows 專業版
Windows 企業版
Windows 教育版
Windows IoT 企業版