Share via


DeleteList Method

Deletes the specified list.

Syntax

<Method ID="Text">
  <SetList Scope="Request">GUID</SetList>
  <SetVar Name="Cmd">DeleteList</SetVar>
</Method>

Parameters

ID = "Text"

Scope = "Request"

Name = "Cmd"

Name = "NextUsing"

Decoded

<Method ID="0,DeleteList">
  <SetList Scope="Request">69d58bb1-cbd8-4923-b610-0c8e55d6afc0</SetList>
  <SetVar Name="Cmd">DeleteList</SetVar>
</Method>

Return Value

Success

Returns the code attribute, which is a signed-decimal representation of an HRESULT, such as: <Result ID="0,DeleteList" Code="0" />

Error

Returns an XML-encoded Unicode (UTF-8) text string. For more information, see Error Message Format for Windows SharePoint Services.