Método MasterKey.Regenerate (String)
Regenerates the database master key by using the specified new password.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Public Sub Regenerate ( _
password As String _
)
'Uso
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
)
Parâmetros
- password
Tipo: System.String
A String value that specifies the password with which to encrypt and decrypt the master key.
Exemplos
Consulte também
Referência
Namespace Microsoft.SqlServer.Management.Smo