DesignPackage.ExportSmallBusiness 方法
将小型企业网站模板的设计包导出到解决方案库,并返回关于设计包的信息。
命名空间: Microsoft.SharePoint.Client.Publishing
程序集: Microsoft.SharePoint.Client.Publishing.Silverlight(位于 Microsoft.SharePoint.Client.Publishing.Silverlight.dll 中); Microsoft.SharePoint.Client.Publishing.Phone(位于 Microsoft.SharePoint.Client.Publishing.Phone.dll 中) Microsoft.SharePoint.Client.Publishing(位于 Microsoft.SharePoint.Client.Publishing.dll 中)
语法
声明
Public Shared Function ExportSmallBusiness ( _
context As ClientRuntimeContext, _
site As Site, _
packageName As String, _
includeSearchConfiguration As Boolean _
) As ClientResult(Of DesignPackageInfo)
用法
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
)
参数
site
类型:Microsoft.SharePoint.Client.Site用于导出设计包网站集。
packageName
类型:System.String设计包的名称。
includeSearchConfiguration
类型:System.Boolean指明是否将在设计包导出搜索配置。
返回值
类型:Microsoft.SharePoint.Client.ClientResult<DesignPackageInfo>
有关设计包的信息。