ActivityManager.GetActivitiesByMe method (Privacy, Int32)

Gets an ActivityEventsCollection object containing activity events, up to a specified maximum number, published by the current user that match the specified privacy level.

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

Syntax

'Declaration
Public Function GetActivitiesByMe ( _
    asSeenBy As Privacy, _
    maxEvents As Integer _
) As ActivityEventsCollection
'Usage
Dim instance As ActivityManager
Dim asSeenBy As Privacy
Dim maxEvents As Integer
Dim returnValue As ActivityEventsCollection

returnValue = instance.GetActivitiesByMe(asSeenBy, _
    maxEvents)
public ActivityEventsCollection GetActivitiesByMe(
    Privacy asSeenBy,
    int maxEvents
)

Parameters

  • maxEvents
    Type: System.Int32

    The maximum number of events in the collection.

Return value

Type: Microsoft.Office.Server.ActivityFeed.ActivityEventsCollection

See also

Reference

ActivityManager class

ActivityManager members

GetActivitiesByMe overload

Microsoft.Office.Server.ActivityFeed namespace