Click or drag to resize
ActivityInfoProviderGetContactsActivityInternal Method
Returns TOP 1 contact's activity depending on 'order by' and 'activity type' parameters.

Namespace: CMS.Activities
Assembly: CMS.Activities (in CMS.Activities.dll) Version: 10.0.0
Syntax
C#
protected virtual ActivityInfo GetContactsActivityInternal(
	int contactId,
	string activityType,
	string orderBy
)

Parameters

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

Return Value

Type: ActivityInfo
See Also