共用方式為


SPGlobalAdmin.ListCustomGlobalWebTemplates method

NOTE: This API is now obsolete.

在Windows SharePoint Services 2.0, ListCustomGlobalWebTemplates 方法會傳回虛擬伺服器間的全域網站範本可供具現化網站的清單,前端網頁伺服器上,,並維持回溯相容性。

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

Syntax

'宣告
<ObsoleteAttribute("Web Templates are now accessed via SPWebService.",  _
    False)> _
Public Function ListCustomGlobalWebTemplates ( _
    lcid As UInteger _
) As String
'用途
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
)

參數

  • lcid
    Type: System.UInt32

    32 位元不帶正負號的整數,指定地區設定識別碼 (LCID)。

傳回值

Type: System.String
包含名稱、 LCID、 識別碼,以及每個全域網站範本的描述字串。

請參閱

參照

SPGlobalAdmin class

SPGlobalAdmin members

Microsoft.SharePoint.Administration namespace