FileUnprotectOptions
FileUnprotectOptions
FileUnprotectOptions
FileUnprotectOptions
Class
Definition
Contains options that apply to removing protection from an enterprise-protected file.
public : sealed class FileUnprotectOptions : IFileUnprotectOptionspublic sealed class FileUnprotectOptions : IFileUnprotectOptionsPublic NotInheritable Class FileUnprotectOptions Implements IFileUnprotectOptions// You can use this class in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows Desktop Extension SDK (introduced v10.0.15063.0)
Windows Mobile Extension SDK (introduced v10.0.15063.0)
|
| API contract |
Windows.Security.EnterpriseData.EnterpriseDataContract (introduced v4)
|
Remarks
You can pass an instance of this class to the UnprotectAsync method.
Constructors
FileUnprotectOptions(Boolean) FileUnprotectOptions(Boolean) FileUnprotectOptions(Boolean) FileUnprotectOptions(Boolean)
Creates an instance of the FileUnprotectOptions class.
public : FileUnprotectOptions(bool audit)public FileUnprotectOptions(Boolean audit)Public Sub New(audit As Boolean)// You can use this method in JavaScript.
Parameters
- audit
- bool Boolean Boolean Boolean
Specifies whether to log this action for audit.
Properties
Audit Audit Audit Audit
Specifies whether to log the unprotect action for audit.
public : PlatForm::Boolean Audit { get; set; }public bool Audit { get; set; }Public ReadWrite Property Audit As bool// You can use this property in JavaScript.
- Value
- PlatForm::Boolean bool bool bool
true if the removing protection from the file will be logged for audit, otherwise false.