SPGlobalConfig.WebServers 属性
请注意:此 API 现在已过时。
过时。获取表示SharePoint Foundation部署中的所有前端 Web 服务器的 Web 服务器集合。
命名空间: Microsoft.SharePoint.Administration
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
<ObsoleteAttribute("Most of the functionality in this class is available in SPFarm or SPWebService.", _
False)> _
Public ReadOnly Property WebServers As SPWebServerCollection
Get
用法
Dim instance As SPGlobalConfig
Dim value As SPWebServerCollection
value = instance.WebServers
[ObsoleteAttribute("Most of the functionality in this class is available in SPFarm or SPWebService.",
false)]
public SPWebServerCollection WebServers { get; }
属性值
类型:Microsoft.SharePoint.Administration.SPWebServerCollection
一个表示服务器的SPWebServerCollection对象。