Checks whether an encryption key for the current tenant is present on the server tenant.
Property Value/Return Value
Returns true if the encryption key exists, otherwise false.
This code example performs checks to determine if an encryption key already exists.
IF ENCRYPTIONENABLED THEN IF ENCRYPTIONKEYEXISTS THEN MESSAGE('Encryption has been enabled and the encryption key is present in this server instance') ELSE MESSAGE('Encryption has been enabled but the encryption key is not present on this server instance') ELSE MESSAGE('Encryption has not been enabled')