DesignPackage.Install method
Installs a design package into a site.
Namespace: Microsoft.SharePoint.Client.Publishing
Assembly: Microsoft.SharePoint.Client.Publishing (in Microsoft.SharePoint.Client.Publishing.dll)
Syntax
'Declaration
Public Shared Sub Install ( _
context As ClientRuntimeContext, _
site As Site, _
info As DesignPackageInfo, _
path As String _
)
'Usage
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
)
Parameters
- context
Type: Microsoft.SharePoint.Client.ClientRuntimeContext
site
Type: Microsoft.SharePoint.Client.SiteThe Site object into which to install the package.
info
Type: Microsoft.SharePoint.Client.Publishing.DesignPackageInfoThe design package information to be installed.
path
Type: System.StringThe design package path to be installed.
Remarks
The Install(ClientRuntimeContext, Site, DesignPackageInfo, String) method imports a design package into a site. The design package must be applied to the target site after the installation is done.