Compartilhar via


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

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