Compartir a través de


MasterKey.Export Method

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

Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Sintaxis

'Declaración
Public Sub Export ( _
    path As String, _
    password As String _
)
public void Export (
    string path,
    string password
)
public:
void Export (
    String^ path, 
    String^ password
)
public void Export (
    String path, 
    String password
)
public function Export (
    path : String, 
    password : String
)

Parámetros

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

Notas

Este espacio de nombres, clase o miembro solamente se admite en la versión 2.0 de Microsoft .NET Framework.

Ejemplo

How to: Use an SMO Method with a Parameter in Visual Basic .NET

Seguridad para subprocesos

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

MasterKey Class
MasterKey Members
Microsoft.SqlServer.Management.Smo Namespace

Otros recursos

Jerarquía de cifrado
CREATE MASTER KEY (Transact-SQL)