Click or drag to resize
ActivityInfoProviderGetContactsFirstActivity Method
Returns first 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 GetContactsFirstActivity(
	int contactId,
	string activityType
)

Parameters

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

Return Value

Type: ActivityInfo
See Also