ActivityManager.GetActivitiesForMe Method (Int32)
Gets an ActivityEventsCollection object containing activity events, up to a specified maximum number, 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)
Syntax
'Declaration
Public Function GetActivitiesForMe ( _
maxEvents As Integer _
) As ActivityEventsCollection
'Usage
Dim instance As ActivityManager
Dim maxEvents As Integer
Dim returnValue As ActivityEventsCollection
returnValue = instance.GetActivitiesForMe(maxEvents)
public ActivityEventsCollection GetActivitiesForMe(
int maxEvents
)
Parameters
maxEvents
Type: System.Int32The maximum number of items in the collection.
Return Value
Type: Microsoft.Office.Server.ActivityFeed.ActivityEventsCollection