Partager via


Méthode MasterKey.Create (String)

Creates a master key that has the specified password.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Sub Create ( _
    encryptionPassword As String _
)
'Utilisation
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
)

Paramètres

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

Exemples

Appel de méthodes

Voir aussi

Référence

MasterKey Classe

Surcharge Create

Espace de noms Microsoft.SqlServer.Management.Smo

Autres ressources

Hiérarchie de chiffrement

CREATE MASTER KEY (Transact-SQL)