UWF _ RegistryFilter. GetExclusionsUWF_RegistryFilter.GetExclusions
從受整合寫入篩選器 (UWF) 所保護的裝置,抓取所有的登錄機碼排除專案。Retrieves all registry key exclusions from a device that is protected by Unified Write Filter (UWF).
語法Syntax
UInt32 GetExclusions(
[out, EmbeddedInstance("UWF_ExcludedRegistryKey")] string ExcludedKeys[]
);
參數Parameters
ExcludedKeys []空的 uwf _ ExcludedRegistryKey物件陣列,這些物件代表從 UWF 篩選排除的登錄機碼。ExcludedKeys [out] An array of UWF_ExcludedRegistryKey objects that represent the registry keys excluded from UWF filtering.
傳回值Return Value
傳回 HRESULT 值,指出 wmi 狀態 或 wmi 錯誤。Returns an HRESULT value that indicates WMI status or a WMI error.
備註Remarks
如果這個方法找不到登錄機碼排除清單中的任何登錄機碼,則會將 ExcludedKeys 參數設定為 null。If this method does not find any registry keys in the registry key exclusion list, it sets the ExcludedKeys parameter to null.
需求Requirements
Windows 版本Windows Edition | 支援Supported |
---|---|
Windows 10 HomeWindows 10 Home | 否No |
Windows 10 ProWindows 10 Pro | 否No |
Windows 10 EnterpriseWindows 10 Enterprise | 是Yes |
Windows 10 EducationWindows 10 Education | 是Yes |