ExportProviderExportObject Method (Int32, String, String, String, IUserInfo) |
Export site to file.
Namespace: CMS.CMSImportExportAssembly: CMS.ImportExport (in CMS.ImportExport.dll) Version: 8.2.23
Syntax public static void ExportObject(
int objectId,
string objectType,
string fullExportFilePath,
string websitePath,
IUserInfo userInfo
)
Parameters
- objectId
- Type: SystemInt32
Exported object ID - objectType
- Type: SystemString
Exported object type - 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) - userInfo
- Type: CMS.BaseIUserInfo
Current user info
See Also