Share via


SPServer.Address property

Gets or sets the primary server address, which can be an IP address or a computer name.

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

Syntax

'Declaration
Public Property Address As String
    Get
    Set
'Usage
Dim instance As SPServer
Dim value As String

value = instance.Address

instance.Address = value
public string Address { get; set; }

Property value

Type: System.String
A string that contains the server address.

See also

Reference

SPServer class

SPServer members

Microsoft.SharePoint.Administration namespace