Share via


MasterKey.Regenerate Method

Definition

Overloads

Regenerate(String)

Regenerates the database master key using the specified password.

Regenerate(String, Boolean)

Regenerates the database master key using the specified password. If the force parameter is set to true, the database master key will be regenerated forcefully. This will cause all secrets that cannot be decrypted by the old database master key to be dropped.

Regenerate(String)

Regenerates the database master key using the specified password.

public void Regenerate (string password);
member this.Regenerate : string -> unit
Public Sub Regenerate (password As String)

Parameters

password
String

Applies to

Regenerate(String, Boolean)

Regenerates the database master key using the specified password. If the force parameter is set to true, the database master key will be regenerated forcefully. This will cause all secrets that cannot be decrypted by the old database master key to be dropped.

public void Regenerate (string password, bool forceRegeneration);
member this.Regenerate : string * bool -> unit
Public Sub Regenerate (password As String, forceRegeneration As Boolean)

Parameters

password
String
forceRegeneration
Boolean

Applies to