Share via


DesignPackage.ExportEnterprise method

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

  • includeSearchConfiguration
    Type: System.Boolean

    Indicates whether the search configuration will be exported in the design package.

Return value

Type: Microsoft.SharePoint.Client.ClientResult<DesignPackageInfo>
Information about the design package.

See also

Reference

DesignPackage class

DesignPackage members

Microsoft.SharePoint.Client.Publishing namespace