DesignPackage.ExportSmallBusiness - Méthode
Exporte le package de création d'un modèle de site PME vers la galerie de solutions, puis renvoie des informations sur le package de création.
Espace de noms : Microsoft.SharePoint.Client.Publishing
Assemblys : Microsoft.SharePoint.Client.Publishing.Silverlight (dans Microsoft.SharePoint.Client.Publishing.Silverlight.dll); Microsoft.SharePoint.Client.Publishing.Phone (dans Microsoft.SharePoint.Client.Publishing.Phone.dll) Microsoft.SharePoint.Client.Publishing (dans Microsoft.SharePoint.Client.Publishing.dll)
Syntaxe
'Déclaration
Public Shared Function ExportSmallBusiness ( _
context As ClientRuntimeContext, _
site As Site, _
packageName As String, _
includeSearchConfiguration As Boolean _
) As ClientResult(Of DesignPackageInfo)
'Utilisation
Dim context As ClientRuntimeContext
Dim site As Site
Dim packageName As String
Dim includeSearchConfiguration As Boolean
Dim returnValue As ClientResult(Of DesignPackageInfo)
returnValue = DesignPackage.ExportSmallBusiness(context, _
site, packageName, includeSearchConfiguration)
public static ClientResult<DesignPackageInfo> ExportSmallBusiness(
ClientRuntimeContext context,
Site site,
string packageName,
bool includeSearchConfiguration
)
Paramètres
- context
Type : Microsoft.SharePoint.Client.ClientRuntimeContext
site
Type : Microsoft.SharePoint.Client.SiteLa collection de sites qui sera utilisée pour exporter le package de création.
packageName
Type : System.StringLe nom du package de création.
includeSearchConfiguration
Type : System.BooleanIndique si la configuration de recherche est exportée dans le package de création.
Valeur renvoyée
Type : Microsoft.SharePoint.Client.ClientResult<DesignPackageInfo>
Informations sur le package de création.