共用方式為


Certificate.RemovePrivateKey 方法

Removes the private key from the certificate.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Sub RemovePrivateKey
'用途
Dim instance As Certificate

instance.RemovePrivateKey()
public void RemovePrivateKey()
public:
void RemovePrivateKey()
member RemovePrivateKey : unit -> unit
public function RemovePrivateKey()

範例

使用加密

請參閱

參考

Certificate 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

加密階層

CREATE CERTIFICATE (Transact-SQL)

ALTER CERTIFICATE (Transact-SQL)