Share via


ServiceMasterKey.Regenerate Method

Include Protected Members
Include Inherited Members

Regenerates the database master key with the specified new password.

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() Regenerates the database master key by using the specified new password.
Public method Regenerate(Boolean) Regenerates the service master key with the option to force the regeneration, and removes all items that cannot be successfully decrypted.

Top

See Also

Reference

ServiceMasterKey Class

Microsoft.SqlServer.Management.Smo Namespace