共用方式為


ExportList 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.

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

Note

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

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

Decoded

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

Remarks

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