Share via


SetDataEncryptionKeyRequest.ChangeEncryptionKey Property

Definition

Gets or sets the operation to perform with the data encryption key.

public:
 property bool ChangeEncryptionKey { bool get(); void set(bool value); };
public bool ChangeEncryptionKey { get; set; }
member this.ChangeEncryptionKey : bool with get, set
Public Property ChangeEncryptionKey As Boolean

Property Value

true indicates to set (change) the data encryption key; otherwise, false indicates to restore the data encryption key.

Remarks

When performing a restore, the new key is saved in the MS_CONFIG database. When performing a change, all fields that were encrypted using the old key are first decrypted, and then encrypted using the new key. The new key is then stored in the MS_CONFIG database.

No more than one SetDataEncryptionKeyRequest can be processed at a time for an organization.

Applies to