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

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

Syntax

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

Parameters

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

See Also