Partager via


Tenant.GetSPOTenantWebTemplates - Méthode

Renvoie tous les modèles pour les collections de sites web dans le client.

Espace de noms :  Microsoft.Online.SharePoint.TenantAdministration
Assemblys :   Microsoft.Online.SharePoint.Client.Tenant.Silverlight (dans Microsoft.Online.SharePoint.Client.Tenant.Silverlight.dll);  Microsoft.Online.SharePoint.Client.Tenant (dans Microsoft.Online.SharePoint.Client.Tenant.dll)

Syntaxe

'Déclaration
Public Function GetSPOTenantWebTemplates ( _
    localeId As UInteger, _
    compatibilityLevel As Integer _
) As SPOTenantWebTemplateCollection
'Utilisation
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
)

Paramètres

  • localeId
    Type : System.UInt32

    L'identificateur de paramètres régionaux pour les modèles web à récupérer.

  • compatibilityLevel
    Type : System.Int32

    Entier qui représente la dernière version du produit avec lesquels les modèles web sont compatibles.

Valeur renvoyée

Type : Microsoft.Online.SharePoint.TenantAdministration.SPOTenantWebTemplateCollection
SPOTenantWebTemplateCollection

Voir aussi

Référence

Tenant classe

Tenant - Membres

Microsoft.Online.SharePoint.TenantAdministration - Espace de noms