SPVirtualServer.GetWebTemplates method
NOTE: This API is now obsolete.
已過時。會傳回指定之伺服器的網站範本的地區設定識別碼 (LCID) 所。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
<ObsoleteAttribute("Use SPWebApplication or SPIisSettings instead.", _
False)> _
Public Function GetWebTemplates ( _
LCID As UInteger _
) As SPWebTemplateCollection
'用途
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
)
參數
LCID
Type: System.UInt32正負號的 32 位元整數,會指定伺服器的 LCID。
傳回值
Type: Microsoft.SharePoint.SPWebTemplateCollection
SPWebTemplateCollection 物件代表的網站範本。