Compartir a través de


SqlConnection.RegisterColumnEncryptionKeyStoreProviders Método

Definición

Registra los proveedores de almacenamiento de claves de cifrado de columnas.

public:
 static void RegisterColumnEncryptionKeyStoreProviders(System::Collections::Generic::IDictionary<System::String ^, System::Data::SqlClient::SqlColumnEncryptionKeyStoreProvider ^> ^ customProviders);
public static void RegisterColumnEncryptionKeyStoreProviders (System.Collections.Generic.IDictionary<string,System.Data.SqlClient.SqlColumnEncryptionKeyStoreProvider> customProviders);
static member RegisterColumnEncryptionKeyStoreProviders : System.Collections.Generic.IDictionary<string, System.Data.SqlClient.SqlColumnEncryptionKeyStoreProvider> -> unit
Public Shared Sub RegisterColumnEncryptionKeyStoreProviders (customProviders As IDictionary(Of String, SqlColumnEncryptionKeyStoreProvider))

Parámetros

customProviders
IDictionary<String,SqlColumnEncryptionKeyStoreProvider>

Proveedores personalizados.

Ejemplos

Dictionary<string, SqlColumnEncryptionKeyStoreProvider> customKeyStoreProviders = new Dictionary<string, SqlColumnEncryptionKeyStoreProvider>();
MySqlClientHSMProvider myProvider = new MySqlClientHSMProvider();
customKeyStoreProviders.Add(@"HSM Provider", myProvider);
SqlConnection.RegisterColumnEncryptionKeyStoreProviders(customKeyStoreProviders)

Se aplica a