What is the c# equivalent command for powershell commands for sql server Always Encrypted configuration RRS feed

  • General discussion

  • Hi,

    I am using the following powershell commands to configure "always encrypted" feature of sql server 2016.

    1. New-SqlCertificateStoreColumnMasterKeySettings

    2. New-SqlColumnMasterKey

    3. New-SqlColumnEncryptionKey

    4. Set-SqlColumnEncryption

    Please Let me know what equivalent .Net Library can help to get these commands working in a c# console application, so that I as a programmer can use it. Please provide any Microsoft link for the above for an example. 



    • Moved by jrv Thursday, December 6, 2018 5:03 AM Best forum
    Thursday, December 6, 2018 4:12 AM

All replies