次の方法で共有


Export メソッド (String, String, String, String)

指定したシステム パスの場所に証明書を保存します。

名前空間:  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
)

パラメーター

使用例

暗号化の使用