UserDataStorageItemProtectionStatus Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Result of protecting a storage item.
public enum class UserDataStorageItemProtectionStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 524288)]
enum class UserDataStorageItemProtectionStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 524288)]
public enum UserDataStorageItemProtectionStatus
var value = Windows.Security.DataProtection.UserDataStorageItemProtectionStatus.succeeded
Public Enum UserDataStorageItemProtectionStatus
- Inheritance
-
UserDataStorageItemProtectionStatus
- Attributes
Windows requirements
Device family |
Windows 10, version 1903 (introduced in 10.0.18362.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v8.0)
|
Fields
Name | Value | Description |
---|---|---|
Succeeded | 0 | Requested protection was successfully applied. |
NotProtectable | 1 | The system does not support protection of the specified storage item. |
DataUnavailable | 2 | Requested protection cannot be applied as the data are currently unavailable. For example, changing availability from 'WhileUnlocked' to 'AfterFirstUnlock' is not possible while the device is locked. |