Tenant.GetSPOTenantWebTemplates method
Returns all of the web templates for the site collections in the tenant.
Namespace: Microsoft.Online.SharePoint.TenantAdministration
Assembly: Microsoft.Online.SharePoint.Client.Tenant (in Microsoft.Online.SharePoint.Client.Tenant.dll)
Syntax
'Declaration
Public Function GetSPOTenantWebTemplates ( _
localeId As UInteger, _
compatibilityLevel As Integer _
) As SPOTenantWebTemplateCollection
'Usage
Dim instance As Tenant
Dim localeId As UInteger
Dim compatibilityLevel As Integer
Dim returnValue As SPOTenantWebTemplateCollection
returnValue = instance.GetSPOTenantWebTemplates(localeId, _
compatibilityLevel)
public SPOTenantWebTemplateCollection GetSPOTenantWebTemplates(
uint localeId,
int compatibilityLevel
)
Parameters
localeId
Type: System.UInt32The locale identifier for the web templates to be retrieved.
compatibilityLevel
Type: System.Int32An integer that represents the latest product version with which the web templates are compatible.
Return value
Type: Microsoft.Online.SharePoint.TenantAdministration.SPOTenantWebTemplateCollection
SPOTenantWebTemplateCollection