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.
The Id property of the SPWebServer class gets the GUID for the Web server.
Property Value
The GUID for the Web server.
Example
The following code example from a console application uses the Id property to display the GUID of each Web server in the Microsoft Windows SharePoint Services deployment.
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security