ServiceMasterKey.Regenerate Method
SQL Server 2012
Regenerates the database master key by using the specified new password.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)