Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Exports the design package for a site template that is not a small business site template into the solution gallery and returns information about the design package.
Namespace: Microsoft.SharePoint.Client.Publishing
Assembly: Microsoft.SharePoint.Client.Publishing (in Microsoft.SharePoint.Client.Publishing.dll)
Syntax
'Declaration
Public Shared Function ExportEnterprise ( _
context As ClientRuntimeContext, _
site As Site, _
includeSearchConfiguration As Boolean _
) As ClientResult(Of DesignPackageInfo)
'Usage
Dim context As ClientRuntimeContext
Dim site As Site
Dim includeSearchConfiguration As Boolean
Dim returnValue As ClientResult(Of DesignPackageInfo)
returnValue = DesignPackage.ExportEnterprise(context, _
site, includeSearchConfiguration)
public static ClientResult<DesignPackageInfo> ExportEnterprise(
ClientRuntimeContext context,
Site site,
bool includeSearchConfiguration
)
Parameters
- context
Type: Microsoft.SharePoint.Client.ClientRuntimeContext
site
Type: Microsoft.SharePoint.Client.SiteThe site collection that will be used to export the design package.
includeSearchConfiguration
Type: System.BooleanIndicates whether the search configuration will be exported in the design package.
Return value
Type: Microsoft.SharePoint.Client.ClientResult<DesignPackageInfo>
Information about the design package.