GetWebTemplates Method

The GetWebTemplates method of the SPVirtualServer class returns the collection of site templates for the server specified by the locale ID (LCID).

Parameters

LCID   An unsigned 32-bit integer that specifies the LCID of the server.

Return Value

A Microsoft.SharePoint.SPWebTemplateCollection object that represents the site templates.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security