Click or drag to resize
ExportProviderExportObject Method (GeneralizedInfo, String, String, IUserInfo)
Export site to file.

Namespace: CMS.CMSImportExport
Assembly: CMS.ImportExport (in CMS.ImportExport.dll) Version: 13.0.131
Syntax
C#
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