Freigeben über


MasterKey.Regenerate-Methode (String)

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 ( _
    password As String _
)
'Usage
Dim instance As MasterKey 
Dim password As String

instance.Regenerate(password)
public void Regenerate(
    string password
)
public:
void Regenerate(
    String^ password
)
member Regenerate : 
        password:string -> unit
public function Regenerate(
    password : String
)

Parameter

  • password
    Typ: System.String
    A String value that specifies the password with which to encrypt and decrypt the master key.

Beispiele

Aufrufen von Methoden

Siehe auch

Verweis

MasterKey Klasse

Regenerate-Überladung

Microsoft.SqlServer.Management.Smo-Namespace

Andere Ressourcen

Verschlüsselungshierarchie

CREATE MASTER KEY (Transact-SQL)