ExportProvider ExportSite Method (String, String, String, Boolean)Kentico 8.1 API Reference
Export site to file.

Namespace: CMS.CMSImportExport
Assembly: CMS.ImportExport (in CMS.ImportExport.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

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