DatabaseEncryptionKey.Reencrypt Método
Re-encrypts a database encryption key.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public Sub Reencrypt ( _
encryptorName As String, _
encryptionType As DatabaseEncryptionType _
)
'Uso
Dim instance As DatabaseEncryptionKey
Dim encryptorName As String
Dim encryptionType As DatabaseEncryptionType
instance.Reencrypt(encryptorName, encryptionType)
public void Reencrypt(
string encryptorName,
DatabaseEncryptionType encryptionType
)
public:
void Reencrypt(
String^ encryptorName,
DatabaseEncryptionType encryptionType
)
member Reencrypt :
encryptorName:string *
encryptionType:DatabaseEncryptionType -> unit
public function Reencrypt(
encryptorName : String,
encryptionType : DatabaseEncryptionType
)
Parámetros
- encryptorName
Tipo: System.String
String
- encryptionType
Tipo: Microsoft.SqlServer.Management.Smo.DatabaseEncryptionType
DatabaseEncryptionType
Vea también
Referencia
Espacio de nombres Microsoft.SqlServer.Management.Smo