SPGlobalConfig.WebServers property
NOTE: This API is now obsolete.
已過時。會取得代表所有前端網頁伺服器SharePoint Foundation部署中的 Web 伺服器集合。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
<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; }
Property value
Type: Microsoft.SharePoint.Administration.SPWebServerCollection
代表伺服器SPWebServerCollection物件。