ExportProvider ExportObject Method (Int32, String, String, String, IUserInfo)Kentico 8.0 API Reference
Export site to file.

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

Parameters

objectId
Type: OnlineSystem Int32
Exported object ID
objectType
Type: OnlineSystem String
Exported object type
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)
userInfo
Type: CMS.Base IUserInfo
Current user info
See Also