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.
示例
请参阅
参考
Microsoft.SqlServer.Management.Smo 命名空间