Partager via


Méthode MasterKey.Open

Opens the database master key by using the specified password.

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

Syntaxe

'Déclaration
Public Sub Open ( _
    password As String _
)
'Utilisation
Dim instance As MasterKey 
Dim password As String

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

Paramètres

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

Exemples

Appel de méthodes

Voir aussi

Référence

MasterKey Classe

Espace de noms Microsoft.SqlServer.Management.Smo

Autres ressources

Hiérarchie de chiffrement

CREATE MASTER KEY (Transact-SQL)