DatabaseEncryptionKey.Reencrypt(String, DatabaseEncryptionType) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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