Condividi tramite


Metodo MasterKey.Export

Saves the database master key to the specified system path location by using the specified password.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public Sub Export ( _
    path As String, _
    password As String _
)
'Utilizzo
Dim instance As MasterKey 
Dim path As String 
Dim password As String

instance.Export(path, password)
public void Export(
    string path,
    string password
)
public:
void Export(
    String^ path, 
    String^ password
)
member Export : 
        path:string * 
        password:string -> unit
public function Export(
    path : String, 
    password : String
)

Parametri

  • path
    Tipo: System.String
    A String value that specifies the system path location of the file to which to save the master key.
  • password
    Tipo: System.String
    A String value that specifies the password with which to encrypt and decrypt the master key.

Esempi

Chiamata di metodi

Vedere anche

Riferimento

MasterKey Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo

Altre risorse

Gerarchia di crittografia

CREATE MASTER KEY (Transact-SQL)