共用方式為


Export 方法 (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 _
)
'用途
Dim instance As Certificate
Dim certificatePath As String
Dim privateKeyPath As String
Dim encryptionPassword As String

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

參數

範例

使用加密