共用方式為


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

instance.Export(certificatePath)
public void Export(
    string certificatePath
)
public:
void Export(
    String^ certificatePath
)
member Export : 
        certificatePath:string -> unit
public function Export(
    certificatePath : String
)

參數

  • certificatePath
    型別:System.String
    A String value that specifies the system path to which to save the certificate.

範例

使用加密

請參閱

參考

Certificate 類別

Export 多載

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

加密階層

CREATE CERTIFICATE (Transact-SQL)