Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Adds the server with the given address to a server farm.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
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.StringA string that contains the address of the server.
farm
Type: Microsoft.SharePoint.Administration.SPFarmAn SPFarm object that represents the server farm to which to add the server.
Remarks
Any addressing scheme is valid that can be resolved on the local network.