Share via


Address Property

The Address property of the SPWebServer class gets the address of the Web server.

Property Value

A string that contains the address of the Web server.

Example

The following code example from a Console Application uses the Address property to display the address of each Web server in the Microsoft Windows SharePoint Services deployment.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security