Sdílet prostřednictvím


Certificate.RemovePrivateKey Method

Removes the private key from the certificate.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Sub RemovePrivateKey
'Usage
Dim instance As Certificate

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

Examples

Using Encryption

See Also

Reference

Certificate Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Encryption Hierarchy

CREATE CERTIFICATE (Transact-SQL)

ALTER CERTIFICATE (Transact-SQL)