Click or drag to resize
InsightInfoProviderGetInsight Method (String, String, String, String)
Retrieves the partial insight matching the specified criteria, and returns it.

Namespace: CMS.SocialMarketing
Assembly: CMS.SocialMarketing (in CMS.SocialMarketing.dll) Version: 9.0.0
Syntax
C#
public static InsightInfo GetInsight(
	string codeName,
	string externalId,
	string periodType,
	string valueName
)

Parameters

codeName
Type: SystemString
The insight code name.
externalId
Type: SystemString
The external identifier of the object associated with the insight.
periodType
Type: SystemString
The type of the time period that the insight represents.
valueName
Type: SystemString
The value name.

Return Value

Type: InsightInfo
The partial insight matching the specified criteria, if found; otherwise, null.
See Also