DatabaseEncryptionKey.Reencrypt(String, DatabaseEncryptionType) Method

Definition

Reencrypts teh DEK with the specified Encryptor

public void Reencrypt (string encryptorName, Microsoft.SqlServer.Management.Smo.DatabaseEncryptionType encryptionType);
member this.Reencrypt : string * Microsoft.SqlServer.Management.Smo.DatabaseEncryptionType -> unit
Public Sub Reencrypt (encryptorName As String, encryptionType As DatabaseEncryptionType)

Parameters

encryptorName
String
encryptionType
DatabaseEncryptionType

Applies to