SettingsKeyInfoProviderGetStringValue Method (String, SiteInfoIdentifier) |
Note: This API is now obsolete.
Returns string value of the specified key from the database or "" if not found.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax [ObsoleteAttribute("Use method GetValue(string keyName, SiteInfoIdentifier siteIdentifier) instead.")]
public static string GetStringValue(
string keyName,
SiteInfoIdentifier siteIdentifier
)
Parameters
- keyName
- Type: SystemString
Key name - siteIdentifier
- Type: CMS.DataEngineSiteInfoIdentifier
Site identifier (site ID or site name), see SiteInfoIdentifier and InfoIdentifier for more information
Return Value
Type:
StringSee Also