MasterKey.Regenerate Method
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.
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