Click or drag to resize
StrandsSettingsGetApiID Method
Gets Strands API ID from settings or null if not specified.

Namespace: CMS.StrandsRecommender
Assembly: CMS.StrandsRecommender (in CMS.StrandsRecommender.dll) Version: 11.0.0
Syntax
C#
public static string GetApiID(
	string siteName
)

Parameters

siteName
Type: SystemString
Site name where settings are checked

Return Value

Type: String
API ID if set, null when setting is empty
Exceptions
ExceptionCondition
ArgumentNullExceptionsiteName is null
See Also