DesignPackage.ExportEnterprise 方法

将不是小型企业网站模板的网站模板的设计包导出到解决方案库,并返回关于设计包的信息。

命名空间:  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 ExportEnterprise ( _
    context As ClientRuntimeContext, _
    site As Site, _
    includeSearchConfiguration As Boolean _
) As ClientResult(Of DesignPackageInfo)
用法
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
)

参数

  • includeSearchConfiguration
    类型:System.Boolean

    指明是否将在设计包导出搜索配置。

返回值

类型:Microsoft.SharePoint.Client.ClientResult<DesignPackageInfo>
有关设计包的信息。

另请参阅

引用

DesignPackage 类

DesignPackage 成员

Microsoft.SharePoint.Client.Publishing 命名空间