DeleteView Method
Deletes the specified view.
Syntax
<Method ID="Text">
<SetList Scope="Request">GUID</SetList>
<SetVar Name="Cmd">DeleteView</SetVar>
<SetVar Name="View">GUID</SetVar>
</Method>
Parameters
ID = "Text"
Scope = "Request"
Name = "Cmd"
Name = "View"
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>
Return Value
Success
Returns the code attribute, which is a signed-decimal representation of an HRESULT, such as: <Result ID="0,DeleteView" Code="0" />
Error
Returns an XML-encoded Unicode (UTF-8) text string. For more information, see Error Message Format for Windows SharePoint Services.