SymmetricKey.DropKeyEncryption Method (SymmetricKeyEncryption)

Removes the specified key encryption from the symmetric key.

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

Syntax

'Declaration
Public Sub DropKeyEncryption ( _
    keyEncryption As SymmetricKeyEncryption _
)
'Usage
Dim instance As SymmetricKey
Dim keyEncryption As SymmetricKeyEncryption

instance.DropKeyEncryption(keyEncryption)
public void DropKeyEncryption(
    SymmetricKeyEncryption keyEncryption
)
public:
void DropKeyEncryption(
    SymmetricKeyEncryption^ keyEncryption
)
member DropKeyEncryption : 
        keyEncryption:SymmetricKeyEncryption -> unit 
public function DropKeyEncryption(
    keyEncryption : SymmetricKeyEncryption
)

Parameters

Examples

Using Encryption