ExportProvider.ExportSite Method |
Export site to file.
Namespace: CMS.CMSImportExportAssembly: CMS.ImportExport (in CMS.ImportExport.dll) Version: 9.0.0
Syntaxpublic static void ExportSite(
string siteName,
string fullExportFilePath,
string websitePath,
bool template,
IUserInfo userInfo
)
Parameters
- siteName
- Type: System.String
Site name of the exported site - fullExportFilePath
- Type: System.String
Full path to the target file(for example c:\export\filename.zip) - websitePath
- Type: System.String
Path to the web site root(If there is the HttpContext available, the parameter can be null) - template
- Type: System.Boolean
Indicates if the web template should be exported - userInfo
- Type: CMS.Base.IUserInfo
Current user info
See Also