Updates a language specific or neutral portal setting and optionally clears it from the cache.

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

Syntax

C#
public static void UpdatePortalSetting(
	int portalID,
	string settingName,
	string settingValue,
	bool clearCache,
	string cultureCode
)
Visual Basic
Public Shared Sub UpdatePortalSetting ( 
	portalID As Integer,
	settingName As String,
	settingValue As String,
	clearCache As Boolean,
	cultureCode As String
)

Parameters

portalID
Type: System..::..Int32
The portal ID.
settingName
Type: System..::..String
Name of the setting.
settingValue
Type: System..::..String
The setting value.
clearCache
Type: System..::..Boolean
if set to true [clear cache].
cultureCode
Type: System..::..String
culture code for language specific settings, null string ontherwise.

See Also