Partilhar via


SetDataEncryptionKeyRequest.ChangeEncryptionKey Property

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

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 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

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright