SPGlobalConfig.WebServers property
NOTE: This API is now obsolete.
Obsolete. Gets a Web server collection that represents all the front-end Web servers in the SharePoint Foundation deployment.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
<ObsoleteAttribute("Most of the functionality in this class is available in SPFarm or SPWebService.", _
False)> _
Public ReadOnly Property WebServers As SPWebServerCollection
Get
'Usage
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
An SPWebServerCollection object that represents the servers.