Share via


ESimProfilePolicy.CanDisable Property

Definition

Gets a value indicating whether the eSIM profile policy represented by this object instance allows the profile to be disabled.

Note

This functionality is available only to mobile operator apps and UWP apps given privileged access by mobile network operators.

If you want to use this API and publish your app to the Microsoft Store, then you'll need to request special approval to use the custom capability Microsoft.eSIMManagement_8wekyb3d8bbwe. For more info, see Custom capabilities.

public:
 property bool CanDisable { bool get(); };
bool CanDisable();
public bool CanDisable { get; }
var boolean = eSimProfilePolicy.canDisable;
Public ReadOnly Property CanDisable As Boolean

Property Value

Boolean

bool

true if the policy allows the profile to be disabled, otherwise false.

Windows requirements

App capabilities
Microsoft.eSIMManagement_8wekyb3d8bbwe

Applies to