SPServer constructor (String, SPFarm)

Adds the server with the given address to a server farm.

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

public SPServer(
	string address,
	SPFarm farm
)

Parameters

address
Type: System.String

A string that contains the address of the server.

farm
Type: Microsoft.SharePoint.Administration.SPFarm

An SPFarm object that represents the server farm to which to add the server.

Any addressing scheme is valid that can be resolved on the local network.

Show: