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
- context
Type: Microsoft.SharePoint.Client.ClientRuntimeContext
site
Type: Microsoft.SharePoint.Client.SiteThe site collection that will be used to export the design package.
packageName
Type: System.StringThe name of 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.