SetDataEncryptionKeyRequest.ChangeEncryptionKey Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.