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)

Syntax

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

Dim instance As New SPServer(address, _
    farm)
public SPServer(
    string address,
    SPFarm farm
)

Parameters

  • address
    Type: System.String

    A string that contains the address of the server.

Remarks

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

See also

Reference

SPServer class

SPServer members

SPServer overload

Microsoft.SharePoint.Administration namespace