The RestoreFile method restores a file from the backup folder

Namespace: DotNetNuke.Services.Installer
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public static void RestoreFile(
	InstallFile installFile,
	string basePath,
	Logger log
)
Visual Basic
Public Shared Sub RestoreFile ( 
	installFile As InstallFile,
	basePath As String,
	log As Logger
)

Parameters

installFile
Type: DotNetNuke.Services.Installer..::..InstallFile
The file to restore
basePath
Type: System..::..String
The basePath to the file
log
Type: DotNetNuke.Services.Installer.Log..::..Logger
A Logger to log the result

See Also