Condividi tramite


SPVirtualServer.GetWebTemplates method

NOTE: This API is now obsolete.

Obsolete. Returns the collection of site templates for the server that is specified by the locale ID (LCID).

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<ObsoleteAttribute("Use SPWebApplication or SPIisSettings instead.",  _
    False)> _
Public Function GetWebTemplates ( _
    LCID As UInteger _
) As SPWebTemplateCollection
'Usage
Dim instance As SPVirtualServer
Dim LCID As UInteger
Dim returnValue As SPWebTemplateCollection

returnValue = instance.GetWebTemplates(LCID)
[ObsoleteAttribute("Use SPWebApplication or SPIisSettings instead.", 
    false)]
public SPWebTemplateCollection GetWebTemplates(
    uint LCID
)

Parameters

  • LCID
    Type: System.UInt32

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

Return value

Type: Microsoft.SharePoint.SPWebTemplateCollection
An SPWebTemplateCollection object that represents the site templates.

See also

Reference

SPVirtualServer class

SPVirtualServer members

Microsoft.SharePoint.Administration namespace