Share via


KeyAttributes.Enabled Property

 

Gets or sets whether the key is enabled.

Namespace:   Microsoft.Azure.KeyVault
Assembly:  Microsoft.Azure.KeyVault (in Microsoft.Azure.KeyVault.dll)

Syntax

[JsonPropertyAttribute(DefaultValueHandling = DefaultValueHandling.Ignore, 
    NullValueHandling = NullValueHandling.Ignore, PropertyName = "enabled", 
    Required = Required.Default)]
public Nullable<bool> Enabled { get; set; }
public:
[JsonPropertyAttribute(DefaultValueHandling = DefaultValueHandling::Ignore, 
    NullValueHandling = NullValueHandling::Ignore, PropertyName = "enabled", 
    Required = Required::Default)]
property Nullable<bool> Enabled {
    Nullable<bool> get();
    void set(Nullable<bool> value);
}
[<JsonPropertyAttribute(DefaultValueHandling = DefaultValueHandling.Ignore,
    NullValueHandling = NullValueHandling.Ignore, PropertyName = "enabled",
    Required = Required.Default)>]
member Enabled : Nullable<bool> with get, set
<JsonPropertyAttribute(DefaultValueHandling := DefaultValueHandling.Ignore,
    NullValueHandling := NullValueHandling.Ignore, PropertyName := "enabled",
    Required := Required.Default)>
Public Property Enabled As Nullable(Of Boolean)

Property Value

Type: System.Nullable<Boolean>

true if the key is enabled; otherwise, false.

See Also

KeyAttributes Class
Microsoft.Azure.KeyVault Namespace

Return to top