MasterKey.Regenerate Method

Include Protected Members
Include Inherited Members

Regenerates the master key.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method Regenerate(String) Regenerates the database master key by using the specified new password.
Public method Regenerate(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.

Top

See Also

Reference

MasterKey Class

Microsoft.SqlServer.Management.Smo Namespace