ActivityManager.GetActivitiesForMe method (DateTime, Int32)

Gets an ActivityEventsCollection object containing activity events, up to a specified maximum number, that have occurred after a specified DateTime and associated with ActivityType objects that represent activity types that are in the current user’s preferences.

Namespace:  Microsoft.Office.Server.ActivityFeed
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

public ActivityEventsCollection GetActivitiesForMe(
	DateTime minEventTime,
	int maxEvents
)

Parameters

minEventTime
Type: System.DateTime

The UTC DateTime after which events in the collection were published.

maxEvents
Type: System.Int32

The maximum number of items in the collection.

Show: