MasterKey.Regenerate Method

 

Regenerates the master key.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

NameDescription
System_CAPS_pubmethodRegenerate(String)

Regenerates the database master key by using the specified new password.

System_CAPS_pubmethodRegenerate(String, Boolean)

Regenerates the database master key by using the specified new password, and with the option to force the regeneration, thus removing all items that cannot be successfully decrypted.

Return to top
Show: