Share via


AsymmetricKey.RemovePrivateKey Method

Removes the private key from the asymmetric key.

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

Syntax

'Declaration
Public Sub RemovePrivateKey
'Usage
Dim instance As AsymmetricKey

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

Examples

Calling Methods