Updates a single neutral (not language specific) portal setting, optionally without clearing 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
)
Visual Basic
Public Shared Sub UpdatePortalSetting ( 
	portalID As Integer,
	settingName As String,
	settingValue As String,
	clearCache As Boolean
)

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].

See Also