Removes the related PortalLocalization record from the database, adds optional clear cache

Namespace: DotNetNuke.Entities.Portals
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public void RemovePortalLocalization(
	int portalId,
	string cultureCode,
	bool clearCache = true
)
Visual Basic
Public Sub RemovePortalLocalization ( 
	portalId As Integer,
	cultureCode As String,
	Optional clearCache As Boolean = true
)

Parameters

portalId
Type: System..::..Int32
paramportalIdM:DotNetNuke.Entities.Portals.PortalController.RemovePortalLocalization(System.Int32,System.String,System.Boolean)
cultureCode
Type: System..::..String
paramcultureCodeM:DotNetNuke.Entities.Portals.PortalController.RemovePortalLocalization(System.Int32,System.String,System.Boolean)
clearCache
Type: System..::..Boolean
paramclearCacheM:DotNetNuke.Entities.Portals.PortalController.RemovePortalLocalization(System.Int32,System.String,System.Boolean)

Implements

IPortalController..::..RemovePortalLocalization(Int32, String, Boolean)

See Also