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

See Also

Reference

AsymmetricKey Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

CREATE ASYMMETRIC KEY (Transact-SQL)