DesignPackage.Apply method
Applies the specified design package to a site.
Namespace: Microsoft.SharePoint.Client.Publishing
Assembly: Microsoft.SharePoint.Client.Publishing (in Microsoft.SharePoint.Client.Publishing.dll)
Syntax
'Declaration
Public Shared Sub Apply ( _
context As ClientRuntimeContext, _
site As Site, _
info As DesignPackageInfo _
)
'Usage
Dim context As ClientRuntimeContext
Dim site As Site
Dim info As DesignPackageInfoDesignPackage.Apply(context, site, info)
public static void Apply(
ClientRuntimeContext context,
Site site,
DesignPackageInfo info
)
Parameters
- context
Type: Microsoft.SharePoint.Client.ClientRuntimeContext
site
Type: Microsoft.SharePoint.Client.SiteThe Site object into which to apply the design package.
info
Type: Microsoft.SharePoint.Client.Publishing.DesignPackageInfoThe design package to apply.
Remarks
The design package can only be applied after it is installed.