Share via


KeyVaultSettingValue.AsBoolean Method

Definition

Gets the boolean value of this account setting if Type is Boolean.

public bool AsBoolean ();
member this.AsBoolean : unit -> bool
Public Function AsBoolean () As Boolean

Returns

A boolean value if Type is Boolean.

Exceptions

The Type is not Boolean, or the value cannot be normalized as a Boolean.

Applies to