This documentation is archived and is not being maintained.

AdminPortUrl Property

SharePoint 2003

The AdminPortUrl property of the SPWebServer class gets the URL for the administration port of the Web server.

Property Value

An absolute URI that specifies the URL in the form http://Server_Name:Port_Number/.


The following code example from a console application uses the AdminPortUrl property to display the administrative port URL of each Web server in the Microsoft Windows SharePoint Services deployment.


Platforms: Microsoft Windows Server 2003

Security: Code Access Security