Forum Discussion
Issue creating farm
I am writing a https://docs.microsoft.com/en-us/windows/win32/api/sbtsv/nn-sbtsv-itssbplugin to interface with a custom connection broker. I have gotten everything working but I am stuck trying to create a "Farm" that the https://docs.microsoft.com/en-us/windows/win32/api/sbtsv/nf-sbtsv-itssbtarget-put_farmname can associate with. From what I can tell this is created when you add a new RD Session Host or RD Virtualization Host. The issue I have is that there doesn't seem to be an API to create one of those that is not a Windows Server or HyperV server. My understanding is that https://docs.microsoft.com/en-us/windows/win32/api/sbtsv/nf-sbtsv-itssbresourcepluginstore-enumeratefarms can do this, but I cannot see it being called, or added to the UI. Is there a reference as to how "Farms" are created and managed?
1 Reply
- Julian_SharpLearn ExpertYou have posted on the board for Microsoft Learn and certification exams. You would more likely get an answer in the Windows board https://techcommunity.microsoft.com/t5/windows/ct-p/Windows10