Views Service

The Views service provides methods for working with views of lists.

Public Constructors

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

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

Public Methods

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

Name Description
AddView Creates a view for the specified list.
DeleteView Deletes the specified view of the specified list.
GetView Returns the schema of the specified view for the specified list.
GetViewCollection Returns the display names, internal names, and URLs for the collection of views of the specified list.
GetViewHtml Returns the full schema of the specified view for the specified list, including the HTML sections.
UpdateView Modifies the specified view of the specified list.
UpdateViewHtml Updates the specified view with the supplied properties and values, including the display properties of Collaborative Application Markup Language (CAML) and HTML.

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/Views.asmx