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)
Available in Sandboxed Solutions: No

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