Click or drag to resize
ContactInfoProviderGetLastLogged Method
Returns contact from given set of ContactIDs which has last logged activity.

Namespace: CMS.OnlineMarketing
Assembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 9.0.0
Syntax
C#
public static int GetLastLogged(
	IList<int> contactIds
)

Parameters

contactIds
Type: System.Collections.GenericIListInt32
List of Contact IDs

Return Value

Type: Int32
Returns ID of found ContactInfo
Exceptions
ExceptionCondition
ArgumentNullExceptioncontactIds is null
ArgumentExceptioncontactIds cannot be empty
Remarks
Returns first ID from contactIds list when no activities are found for specified contacts.
See Also