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

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