从托管应用访问池和前端信息
问题描述:
我在前端运行的托管应用程序需要配置信息,如池配置,网络中的各种前端服务器等。
My managed app running on Front End need configuration information like Pool configuration, various Front end servers in network etc.
我如何获取该信息?
答
如果您在服务器上的托管代码应用程序中(而不是在OCS / Lync服务器中运行的SPL脚本),那么您可以使用WMI接口到OCS以获取配置信息,或接口使用PowerShell命令行开关来获取它们。
If you are in a managed code app on the server (as opposed to an SPL script running in the OCS/Lync server) ,then you can use the WMI interfaces to OCS to get the configuration information or the PowerShell commandlets to get them for Lync.