I'm using SPMeta2 CSOM code to create and populate lists,contentTypes and columns to my onpremm sharepoint site, but i cannot find a way to create Managed Properties.
Is there any way to do it, i have googled and just found Powershell and SSOM code that can do it.
Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.dll"
Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.Runtime.dll"
Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.Search.dll"