共用方式為


SPGlobalAdmin.ListCustomGlobalWebTemplates Method

NOTE: This API is now obsolete.

In Windows SharePoint Services 2.0, the ListCustomGlobalWebTemplates method returned a list of the global site templates available for instantiating sites across virtual servers on a front-end Web server, and is maintained for backward compatibility.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<ObsoleteAttribute("Web Templates are now accessed via SPWebService.",  _
    False)> _
Public Function ListCustomGlobalWebTemplates ( _
    lcid As UInteger _
) As String
'Usage
Dim instance As SPGlobalAdmin
Dim lcid As UInteger
Dim returnValue As String

returnValue = instance.ListCustomGlobalWebTemplates(lcid)
[ObsoleteAttribute("Web Templates are now accessed via SPWebService.", 
    false)]
public string ListCustomGlobalWebTemplates(
    uint lcid
)

Parameters

  • lcid
    Type: System.UInt32

    A 32-bit unsigned integer that specifies the locale identifier (LCID).

Return Value

Type: System.String
A string that contains the name, LCID, ID, and description for each global site template.

See Also

Reference

SPGlobalAdmin Class

SPGlobalAdmin Members

Microsoft.SharePoint.Administration Namespace