ExportProviderExportObject Method (GeneralizedInfo, String, String, IUserInfo) |
Export site to file.
Namespace: CMS.CMSImportExportAssembly: CMS.ImportExport (in CMS.ImportExport.dll) Version: 11.0.0
Syntax public static void ExportObject(
GeneralizedInfo infoObj,
string fullExportFilePath,
string websitePath,
IUserInfo userInfo
)
Parameters
- infoObj
- Type: CMS.DataEngineGeneralizedInfo
Object to be exported - 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