InstallDatabase runs all the "scripts" identifed in the Install Template to install the base version

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

Syntax

C#
public static string InstallDatabase(
	Version version,
	string providerPath,
	XmlDocument xmlDoc,
	bool writeFeedback
)
Visual Basic
Public Shared Function InstallDatabase ( 
	version As Version,
	providerPath As String,
	xmlDoc As XmlDocument,
	writeFeedback As Boolean
) As String

Parameters

version
Type: System..::..Version
paramversionM:DotNetNuke.Services.Upgrade.Upgrade.InstallDatabase(System.Version,System.String,System.Xml.XmlDocument,System.Boolean)
providerPath
Type: System..::..String
paramproviderPathM:DotNetNuke.Services.Upgrade.Upgrade.InstallDatabase(System.Version,System.String,System.Xml.XmlDocument,System.Boolean)
xmlDoc
Type: System.Xml..::..XmlDocument
The Xml Document to load
writeFeedback
Type: System..::..Boolean
A flag that determines whether to output feedback to the Response Stream

Return Value

A string which contains the error message - if appropriate

Remarks