DesignPackage.UnInstall method
Uninstalls a design package.
Namespace: Microsoft.SharePoint.Publishing
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
Public Shared Sub UnInstall ( _
site As SPSite, _
info As DesignPackageInfo _
)
'Usage
Dim site As SPSite
Dim info As DesignPackageInfoDesignPackage.UnInstall(site, info)
public static void UnInstall(
SPSite site,
DesignPackageInfo info
)
Parameters
site
Type: Microsoft.SharePoint.SPSiteThe SPSite object into which to apply the package.
info
Type: Microsoft.SharePoint.Publishing.DesignPackageInfoThe package information to be uninstalled.
Exceptions
Exception | Condition |
---|---|
System.ArgumentNullException | All of the parameters passed should not be null. |