Compartilhar via


GetSiteTemplates Method

The GetSiteTemplates method of the Sites service returns information about the collection of site definitions and site templates on the virtual server.

Parameters

LCID   A 32-bit unsigned integer that specifies the locale identifier (LCID) (for example, 1033 in English).

TemplateList   A template array whose elements provide fields containing information about each template.

Return Value

If successful, returns 0 as an unsigned integer.

Example

The following code example displays information about all the site definitions and site templates on the virtual server.

Requirements

Platforms: Microsoft Windows Server 2003

Web Reference: http://Server_Name/[sites/][Site_Name/]_vti_bin/Sites.asmx