This documentation is archived and is not being maintained.

Webs Service

SharePoint 2003

The Webs service provides methods for working with sites and subsites.

Public Constructors

The following constructor can be used to instantiate the Webs service.

Name Description
Webs Initializes a new instance of the Webs service.

Public Methods

The following table shows the methods of the Webs service and a brief description of each.

Name Description
GetAllSubWebCollection Returns the titles and URLs of all sites within the current site collection.
GetListTemplates Returns the collection of list template definitions for the current site.
GetWeb Returns properties of a site (for example, name, description, and theme).
GetWebCollection Returns the titles and URLs of all sites directly beneath the current site.
WebUrlFromPageUrl Returns the URL of the parent site for the specified page URL.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread safe.

Requirements

Namespace: Microsoft.SharePoint.SoapServer

Platforms: Microsoft Windows Server 2003

Assembly: Windows SharePoint Services Web Service (in STSSOAP.dll)

Web Reference: http://Server_Name/[sites/][Site_Name/]_vti_bin/Webs.asmx

Show: