Jaa


SetDataEncryptionKeyRequest.ChangeEncryptionKey Property

 

Applies To: Dynamics CRM 2015

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

Namespace:   Microsoft.Xrm.Sdk.Messages
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Syntax

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

Property Value

Type: System.Boolean

Type: Boolean
 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.

See Also

SetDataEncryptionKeyRequest Class
Microsoft.Xrm.Sdk.Messages Namespace

Return to top

© 2016 Microsoft. All rights reserved. Copyright