Views.DeleteView Method
Windows SharePoint Services 3
Deletes the specified view of the specified list.
Web Service: ViewsWeb Reference: http://<Site>/_vti_bin/Views.asmx
[SoapDocumentMethodAttribute("http://schemas.microsoft.com/sharepoint/soap/DeleteView", RequestNamespace="http://schemas.microsoft.com/sharepoint/soap/", ResponseNamespace="http://schemas.microsoft.com/sharepoint/soap/", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Wrapped)] public void DeleteView ( string listName, string viewName )
Parameters
- listName
A string that contains the internal name of the list.
- viewName
A string that contains the GUID for the view.