共用方式為


ServiceMasterKey.Regenerate Method

Definition

Overloads

Regenerate()

Regenerates the service master key

Regenerate(Boolean)

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

Regenerate()

Regenerates the service master key

public void Regenerate ();
member this.Regenerate : unit -> unit
Public Sub Regenerate ()

Applies to

Regenerate(Boolean)

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

public void Regenerate (bool forceRegeneration);
member this.Regenerate : bool -> unit
Public Sub Regenerate (forceRegeneration As Boolean)

Parameters

forceRegeneration
Boolean

Applies to