Click or drag to resize
ExportProviderExportWebTemplate Method (String, String, String, String, IUserInfo)

Note: This API is now obsolete.

Export web template.

Namespace: CMS.CMSImportExport
Assembly: CMS.ImportExport (in CMS.ImportExport.dll) Version: 8.2.23
Syntax
C#
[ObsoleteAttribute("Use ExportWebTemplate(ExportWebTemplateSettings) instead.")]
public static void ExportWebTemplate(
	string siteName,
	string websitePath,
	string targetPath,
	string[] excludedExpressions,
	IUserInfo userInfo
)

Parameters

siteName
Type: SystemString
Site code name
websitePath
Type: SystemString
Full web site path
targetPath
Type: SystemString
Full target path
excludedExpressions
Type: SystemString
Expressions to exclude the exported objects due to code name and display name
userInfo
Type: CMS.BaseIUserInfo
Current user info
See Also