다음을 통해 공유


Certificate.Export 메서드 (String, String, String, String)

Saves the certificate in the specified system path location.

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

구문

‘선언
Public Sub Export ( _
    certificatePath As String, _
    privateKeyPath As String, _
    encryptionPassword As String, _
    decryptionPassword As String _
)
‘사용 방법
Dim instance As Certificate 
Dim certificatePath As String 
Dim privateKeyPath As String 
Dim encryptionPassword As String 
Dim decryptionPassword As String

instance.Export(certificatePath, privateKeyPath, _
    encryptionPassword, decryptionPassword)
public void Export(
    string certificatePath,
    string privateKeyPath,
    string encryptionPassword,
    string decryptionPassword
)
public:
void Export(
    String^ certificatePath, 
    String^ privateKeyPath, 
    String^ encryptionPassword, 
    String^ decryptionPassword
)
member Export : 
        certificatePath:string * 
        privateKeyPath:string * 
        encryptionPassword:string * 
        decryptionPassword:string -> unit
public function Export(
    certificatePath : String, 
    privateKeyPath : String, 
    encryptionPassword : String, 
    decryptionPassword : String
)

매개 변수

  • certificatePath
    유형: System.String
    A String value that specifies the system path to which to save the certificate.
  • privateKeyPath
    유형: System.String
    A String value that specifies the system path to the private key.
  • encryptionPassword
    유형: System.String
    A String value that specifies the system path to encrypt the private key.
  • decryptionPassword
    유형: System.String
    A String value that specifies the system path to decrypt the private key.

암호화 사용

참고 항목

참조

Certificate 클래스

Export 오버로드

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

관련 자료

암호화 계층

CREATE CERTIFICATE(Transact-SQL)