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)
Available in Sandboxed Solutions: No

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.

See Also

Reference

SPGlobalConfig Class

SPGlobalConfig Members

Microsoft.SharePoint.Administration Namespace