Compartir a través de


MasterKey.Create Método (String)

Creates a master key that has the specified password.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
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.

Ejemplos

Llamar a métodos

Vea también

Referencia

MasterKey Clase

Sobrecarga de Create

Espacio de nombres Microsoft.SqlServer.Management.Smo

Otros recursos

Jerarquía de cifrado

CREATE MASTER KEY (Transact-SQL)