Share via


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 Windows SharePoint Services deployment.

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
An SPWebServerCollection object that represents the servers.

See Also

Reference

SPGlobalConfig Class

SPGlobalConfig Members

Microsoft.SharePoint.Administration Namespace