다음을 통해 공유


MasterKey.Export 메서드

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

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
Public Sub Export ( _
    path As String, _
    password As String _
)
‘사용 방법
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
)

매개 변수

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

메서드 호출

참고 항목

참조

MasterKey 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스

관련 자료

암호화 계층

CREATE MASTER KEY(Transact-SQL)