Click or drag to resize
ExportProviderExportSite Method (String, String, String, Boolean)

Note: This API is now obsolete.

Export site to file.

Namespace: CMS.CMSImportExport
Assembly: CMS.ImportExport (in CMS.ImportExport.dll) Version: 8.2.23
Syntax
C#
[ObsoleteAttribute("This method is obsolete. Please use ExportSite(string siteName, string fullExportFilePath, string websitePath, bool template, UserInfo userInfo) instead.")]
public static void ExportSite(
	string siteName,
	string fullExportFilePath,
	string websitePath,
	bool template
)

Parameters

siteName
Type: SystemString
Site name of the exported site
fullExportFilePath
Type: SystemString
Full path to the target file(for example c:\export\filename.zip)
websitePath
Type: SystemString
Path to the web site root(If there is the HttpContext available, the parameter can be null)
template
Type: SystemBoolean
Indicates if the web template should be exported
See Also