Share via


SPServerCollection constructor

Initializes a new instance of the SPServerCollection class based on the specified server farm.

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

Syntax

'Declaration
Public Sub New ( _
    farm As SPFarm _
)
'Usage
Dim farm As SPFarm

Dim instance As New SPServerCollection(farm)
public SPServerCollection(
    SPFarm farm
)

Parameters

See also

Reference

SPServerCollection class

SPServerCollection members

Microsoft.SharePoint.Administration namespace