Partager via


ExportList Method

Exports the schema of a list in the format of Collaborative Application Markup Language (CAML).

Syntax

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

Parameters

ID = "Text"

Scope = "Request"

Name = "Cmd"

Decoded

<Method ID="0,ExportList">
  <SetList Scope="Request">GUID</SetList>
  <SetVar Name="Cmd">ExportList</SetVar>
</Method>

Remarks

When used in URL protocol to make an HTTP GET request, this method requires a List parameter that specifies the GUID of the list.

Return Value

Success

Returns the code attribute, which is a signed-decimal representation of an HRESULT.

Error

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

Sample Output