Click or drag to resize
SettingsKeyInfoProviderGetValue Method (String, SiteInfoIdentifier, Boolean)

Note: This API is now obsolete.

Returns value of the specified key from the database.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax
C#
[ObsoleteAttribute("Use method GetValue(string keyName, SiteInfoIdentifier siteIdentifier) instead.")]
public static string GetValue(
	string keyName,
	SiteInfoIdentifier siteIdentifier,
	bool nullIfNotFound = false
)

Parameters

keyName
Type: SystemString
Key name
siteIdentifier
Type: CMS.DataEngineSiteInfoIdentifier
Site identifier (site ID or site name), see SiteInfoIdentifier and InfoIdentifier for more information
nullIfNotFound (Optional)
Type: SystemBoolean
Return null if the key does not exist

Return Value

Type: String
See Also