Share via


DesignPackage.ExportSmallBusiness method

Exports the design package for a small business site template to 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 ExportSmallBusiness ( _
    context As ClientRuntimeContext, _
    site As Site, _
    packageName As String, _
    includeSearchConfiguration As Boolean _
) As ClientResult(Of DesignPackageInfo)
'Usage
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
)

Parameters

  • packageName
    Type: System.String

    The name of the design package.

  • 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