Partilhar via


ActivityManager.GetActivitiesByMe Method (Privacy, DateTime)

Gets an ActivityEventsCollection containing all activity events published by the current user that match the specified privacy level and that have occurred after the specified DateTime object.

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

Syntax

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

returnValue = instance.GetActivitiesByMe(asSeenBy, _
    minEventTime)
public ActivityEventsCollection GetActivitiesByMe(
    Privacy asSeenBy,
    DateTime minEventTime
)

Parameters

  • minEventTime
    Type: System.DateTime

    The UTC DateTime after which all activity events in the collection have been published.

Return Value

Type: Microsoft.Office.Server.ActivityFeed.ActivityEventsCollection

See Also

Reference

ActivityManager Class

ActivityManager Members

GetActivitiesByMe Overload

Microsoft.Office.Server.ActivityFeed Namespace