Aracılığıyla paylaş


SqlConnection.RegisterColumnEncryptionKeyStoreProviders Yöntem

Tanım

Sütun şifreleme anahtar deposu sağlayıcılarını kaydeder.

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))

Parametreler

customProviders
IDictionary<String,SqlColumnEncryptionKeyStoreProvider>

Özel sağlayıcılar.

Örnekler

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

Şunlara uygulanır