Click or drag to resize
ActivityInfoProviderGetContactsLastActivity Method
Returns last contact's activity, may be restricted to specific activity type.

Namespace: CMS.OnlineMarketing
Assembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 8.2.23
Syntax
C#
public static ActivityInfo GetContactsLastActivity(
	int contactId,
	string activityType
)

Parameters

contactId
Type: SystemInt32
Contact ID
activityType
Type: SystemString
Activity type - optional

Return Value

Type: ActivityInfo
See Also