SPServer constructor (String)

Adds the server with the specified address to the local farm.

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

Syntax

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

Dim instance As New SPServer(address)
public SPServer(
    string address
)

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