Share via


DatabaseEncryptionKey.Regenerate Method

Regenerates a database encryption key.

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

Syntax

'Declaration
Public Sub Regenerate ( _
    encryptAlgo As DatabaseEncryptionAlgorithm _
)
'Usage
Dim instance As DatabaseEncryptionKey 
Dim encryptAlgo As DatabaseEncryptionAlgorithm

instance.Regenerate(encryptAlgo)
public void Regenerate(
    DatabaseEncryptionAlgorithm encryptAlgo
)
public:
void Regenerate(
    DatabaseEncryptionAlgorithm encryptAlgo
)
member Regenerate : 
        encryptAlgo:DatabaseEncryptionAlgorithm -> unit
public function Regenerate(
    encryptAlgo : DatabaseEncryptionAlgorithm
)

Parameters

See Also

Reference

DatabaseEncryptionKey Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Transparent Data Encryption (TDE)

Manage Database Encryption (Properties Page)