ImportFile - converts a file url (/Portals/0/somefile.gif) to the appropriate FileID=xx identification for use in importing portals, tabs and modules

Namespace: DotNetNuke.Common
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public static string ImportFile(
	int PortalId,
	string url
)
Visual Basic
Public Shared Function ImportFile ( 
	PortalId As Integer,
	url As String
) As String

Parameters

PortalId
Type: System..::..Int32
paramPortalIdM:DotNetNuke.Common.Globals.ImportFile(System.Int32,System.String)
url
Type: System..::..String
paramurlM:DotNetNuke.Common.Globals.ImportFile(System.Int32,System.String)

Return Value

An UpgradeStatus enum Upgrade/Install/None

Remarks