SettingsKeyInfoProviderGetURLValue Method (String, SiteInfoIdentifier, String) |
Gets the URL value from settings.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 13.0.131
Syntax public static string GetURLValue(
string keyName,
SiteInfoIdentifier siteIdentifier,
string defaultUrl
)
Parameters
- keyName
- Type: SystemString
Key name - siteIdentifier
- Type: CMS.DataEngineSiteInfoIdentifier
Site identifier (site ID or site name), see SiteInfoIdentifier and InfoIdentifier for more information - defaultUrl
- Type: SystemString
Default URL
Return Value
Type:
StringRemarks If the
DevelopmentMode is
true and if
keyName is not found
InvalidOperationException is thrown instead.
See Also