DesignPackage.Install 方法

将设计包安装到网站。

命名空间:  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 Sub Install ( _
    context As ClientRuntimeContext, _
    site As Site, _
    info As DesignPackageInfo, _
    path As String _
)
用法
Dim context As ClientRuntimeContext
Dim site As Site
Dim info As DesignPackageInfo
Dim path As StringDesignPackage.Install(context, site, info, _
    path)
public static void Install(
    ClientRuntimeContext context,
    Site site,
    DesignPackageInfo info,
    string path
)

参数

备注

Install(ClientRuntimeContext, Site, DesignPackageInfo, String)方法导入到网站的设计包。安装完成后,必须到目标网站应用设计包。

另请参阅

引用

DesignPackage 类

DesignPackage 成员

Microsoft.SharePoint.Client.Publishing 命名空间