ServiceMasterKey.Regenerate Method
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)
Syntax
'Declaration
Public Sub Regenerate
'Usage
Dim instance As ServiceMasterKey
instance.Regenerate()
public void Regenerate()
public:
void Regenerate()
member Regenerate : unit -> unit
public function Regenerate()
Examples
See Also
Reference
Microsoft.SqlServer.Management.Smo Namespace