Partilhar via


ServiceMasterKey.Regenerate Method

Regenerates the database master key with the specified new password.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Overload List

Name Description
ServiceMasterKey.Regenerate ()
Regenerates the database master key using the specified new password.
ServiceMasterKey.Regenerate (Boolean)
Regenerates the service master key with the option to force the regeneration thus removing all items that cannot be successfully decrypted.

See Also

Reference

ServiceMasterKey Class
ServiceMasterKey Members
Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Using Encryption
Encryption Hierarchy
ALTER SERVICE MASTER KEY (Transact-SQL)