Click or drag to resize
ActivityInfoProviderSetActivityInfo Method

Note: This API is now obsolete.

Sets (updates or inserts) specified activity. If contact set as ActivityContactID is merged, this method will not update it to its parent. It is up to called to ensure that activities are property assigned to not merged contact.

Namespace: CMS.Activities
Assembly: CMS.Activities (in CMS.Activities.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use IActivityInfoProvider.Set(ActivityInfo) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - ActivityInfo.Provider.")]
public static void SetActivityInfo(
	ActivityInfo activityObj
)

Parameters

activityObj
Type: CMS.ActivitiesActivityInfo
Activity to be set
Remarks
This method should not be used directly. For inserting new activity info use implementation of IActivityRepository.
See Also