我试图弄清楚Active Directory域服务是否安装了Windows服务器.
我知道它们出现在服务器管理器中,但是如果角色安装在使用C#代码的服务器上,我可以通过编程方式获取
c# roles servermanager
c# ×1
roles ×1
servermanager ×1