다음을 통해 공유


SqlConnection.RegisterColumnEncryptionKeyStoreProviders 메서드

정의

사용자 지정 암호화 키 저장소 공급자를 등록합니다.

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

매개 변수

customProviders
IDictionary<String,SqlColumnEncryptionKeyStoreProvider>

사용자 지정 공급자입니다.

예제

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

적용 대상