DeleteView Method
Applies to: SharePoint Foundation 2010
Deletes the specified view.
Note This method is deprecated and may not be supported in future releases. Instead, use the following Web service method:DeleteView(String, String) Web service method.
<Method ID="Text">
<SetList Scope="Request">GUID</SetList>
<SetVar Name="Cmd">DeleteView</SetVar>
<SetVar Name="View">GUID</SetVar>
</Method>
Parameters
Parameter |
Description |
---|---|
ID = "Text" |
Application-specific string. In an HTML editor compatible with Microsoft Windows SharePoint Services, such as Microsoft Office SharePoint Designer 2007, the string provides the sequence number and name of the method. |
Scope = "Request" |
When set to Request, the Scope attribute sets the variable for the scope of the enclosing Method element, unless the variable is changed by another tag. |
Name = "Cmd" |
Must be set to DeleteView. |
Name = "View" |
Specifies the GUID of the view to delete. |
Decoded
<Method ID="0,DeleteView">
<SetList Scope="Request">4bee0568-f298-4932-b0ec-
d96a7b8822b3</SetList>
<SetVar Name="Cmd">DeleteView</SetVar>
<SetVar Name="View">81039674-9a7d-4e55-a182-5528ad67cce5</SetVar>
</Method>