Share via


SymmetricKey.DropKeyEncryption Method (array<SymmetricKeyEncryption )

Removes the specified key encryptions from the symmetric key.

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

Syntax

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

instance.DropKeyEncryption(keyEncryptions)
public void DropKeyEncryption(
    SymmetricKeyEncryption[] keyEncryptions
)
public:
void DropKeyEncryption(
    array<SymmetricKeyEncryption^>^ keyEncryptions
)
member DropKeyEncryption : 
        keyEncryptions:SymmetricKeyEncryption[] -> unit
public function DropKeyEncryption(
    keyEncryptions : SymmetricKeyEncryption[]
)

Parameters

Examples

Using Encryption

See Also

Reference

SymmetricKey Class

DropKeyEncryption Overload

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Encryption Hierarchy

CREATE SYMMETRIC KEY (Transact-SQL)