Share via


FileUnprotectOptions 类

定义

注意

从 2022 年 7 月开始,Microsoft 将弃用 Windows 信息保护 (WIP) 和支持 WIP 的 API。 Microsoft 将继续在受支持的 Windows 版本上支持 WIP。 新版本的 Windows 不包括 WIP 的新功能,并且将来的 Windows 版本将不受支持。 有关详细信息,请参阅宣布 Windows 信息保护停用

对于数据保护需求,Microsoft 建议使用Microsoft Purview 信息保护Microsoft Purview 数据丢失防护。 Purview 简化了配置设置,并提供一组高级功能。

包含用于从企业保护的文件中删除保护的选项。

public ref class FileUnprotectOptions sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Security.EnterpriseData.IFileUnprotectOptionsFactory, 262144, "Windows.Security.EnterpriseData.EnterpriseDataContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Security.EnterpriseData.EnterpriseDataContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class FileUnprotectOptions final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Security.EnterpriseData.IFileUnprotectOptionsFactory), 262144, "Windows.Security.EnterpriseData.EnterpriseDataContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Security.EnterpriseData.EnterpriseDataContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class FileUnprotectOptions
function FileUnprotectOptions(audit)
Public NotInheritable Class FileUnprotectOptions
继承
Object Platform::Object IInspectable FileUnprotectOptions
属性

Windows 要求

设备系列
Windows Desktop Extension SDK (在 10.0.15063.0 中引入)
Windows Mobile Extension SDK (在 10.0.15063.0 中引入)
API contract
Windows.Security.EnterpriseData.EnterpriseDataContract (在 v4.0 中引入)

注解

可以将此类的实例传递给 UnprotectAsync 方法。

构造函数

FileUnprotectOptions(Boolean)

注意

从 2022 年 7 月开始,Microsoft 将弃用 Windows 信息保护 (WIP) 和支持 WIP 的 API。 Microsoft 将继续在受支持的 Windows 版本上支持 WIP。 新版本的 Windows 不包括 WIP 的新功能,并且将来的 Windows 版本将不受支持。 有关详细信息,请参阅宣布 Windows 信息保护停用

对于数据保护需求,Microsoft 建议使用Microsoft Purview 信息保护Microsoft Purview 数据丢失防护。 Purview 简化了配置设置,并提供一组高级功能。

创建 FileUnprotectOptions 类的实例。

属性

Audit

注意

从 2022 年 7 月开始,Microsoft 将弃用 Windows 信息保护 (WIP) 和支持 WIP 的 API。 Microsoft 将继续在受支持的 Windows 版本上支持 WIP。 新版本的 Windows 不包括 WIP 的新功能,并且将来的 Windows 版本将不受支持。 有关详细信息,请参阅宣布 Windows 信息保护停用

对于数据保护需求,Microsoft 建议使用Microsoft Purview 信息保护Microsoft Purview 数据丢失防护。 Purview 简化了配置设置,并提供一组高级功能。

指定是否记录用于审核的取消保护操作。

适用于