Click or drag to resize
ImportProviderImportSite Method (String, String, String, String, String)

Note: This API is now obsolete.

Import site from the file.

Namespace: CMS.CMSImportExport
Assembly: CMS.ImportExport (in CMS.ImportExport.dll) Version: 8.2.23
Syntax
C#
[ObsoleteAttribute("This method is obsolete. Use ImportSite(string siteName, string siteDisplayName, string siteDomain, string fullSourcePath, string websitePath, UserInfo currentUser) instead.")]
public static void ImportSite(
	string siteName,
	string siteDisplayName,
	string siteDomain,
	string fullSourcePath,
	string websitePath
)

Parameters

siteName
Type: SystemString
Site name
siteDisplayName
Type: SystemString
Site display name
siteDomain
Type: SystemString
Site domain
fullSourcePath
Type: SystemString
Full path to the source file
websitePath
Type: SystemString
Path to the web site root(optional)
See Also