Gets the portal setting.
Namespace: DotNetNuke.Entities.PortalsAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
| C# |
|---|
public static string GetPortalSetting( string settingName, int portalID, string defaultValue ) |
| Visual Basic |
|---|
Public Shared Function GetPortalSetting ( settingName As String, portalID As Integer, defaultValue As String ) As String |
Parameters
- settingName
- Type: System..::..String
Name of the setting.
- portalID
- Type: System..::..Int32
The portal ID.
- defaultValue
- Type: System..::..String
The default value.