SymmetricKey.Drop SymmetricKey.Drop SymmetricKey.Drop Method

Definition

Removes a symmetric key from the current database.

Overloads

Drop() Drop() Drop()

Removes a symmetric key from the instance of SQL Server.

Drop(Boolean) Drop(Boolean) Drop(Boolean)

Removes a symmetric key and the provider key associated with it from the instance of SQL Server.

Drop() Drop() Drop()

Removes a symmetric key from the instance of SQL Server.

public:
 virtual void Drop();
public void Drop ();
Public Sub Drop ()

Examples

Using Encryption

Drop(Boolean) Drop(Boolean) Drop(Boolean)

Removes a symmetric key and the provider key associated with it from the instance of SQL Server.

public:
 void Drop(bool removeProviderKey);
public void Drop (bool removeProviderKey);
Public Sub Drop (removeProviderKey As Boolean)
Parameters
removeProviderKey
Boolean Boolean Boolean

Specifies whether to remove the provider key.

Examples

Using Encryption

Applies to