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

Namespace: CMS.Activities
Assembly: CMS.Activities (in CMS.Activities.dll) Version: 12.0.0
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