Share via


DeleteList Method

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Deletes the specified list.

Note

This method is deprecated and may not be supported in future releases. Instead, use the following Web service method:DeleteList Web service method.

<Method ID="Text">
  <SetList Scope="Request">GUID</SetList>
  <SetVar Name="Cmd">DeleteList</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 DeleteList.

Name = "NextUsing"

Optional. The URL to which the user is redirected after the operation is completed.

Decoded

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