Compartilhar via


Método MasterKey.Create (String)

Creates a master key that has the specified password.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public Sub Create ( _
    encryptionPassword As String _
)
'Uso
Dim instance As MasterKey 
Dim encryptionPassword As String

instance.Create(encryptionPassword)
public void Create(
    string encryptionPassword
)
public:
void Create(
    String^ encryptionPassword
)
member Create : 
        encryptionPassword:string -> unit
public function Create(
    encryptionPassword : String
)

Parâmetros

  • encryptionPassword
    Tipo: System.String
    A String value that specifies the password with which to encrypt the master key.

Exemplos

Chamando métodos

Consulte também

Referência

MasterKey Classe

Sobrecarregado Create

Namespace Microsoft.SqlServer.Management.Smo

Outros recursos

Hierarquia de criptografia

CREATE MASTER KEY (Transact-SQL)