SPFarm.Servers property

Gets the collection of all physical computers that are in the local server farm.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public ReadOnly Property Servers As SPServerCollection
    Get
'Usage
Dim instance As SPFarm
Dim value As SPServerCollection

value = instance.Servers
public SPServerCollection Servers { get; }

Property value

Type: Microsoft.SharePoint.Administration.SPServerCollection
An SPServerCollection object that represents the physical computers that are in the local server farm.

See also

Reference

SPFarm class

SPFarm members

Microsoft.SharePoint.Administration namespace