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
asSeenBy
Type: Microsoft.Office.Server.UserProfiles.PrivacyThe privacy level that determines what entities are allowed to view the activity events in the collection.
minEventTime
Type: System.DateTimeThe UTC DateTime after which all activity events in the collection have been published.
Return Value
Type: Microsoft.Office.Server.ActivityFeed.ActivityEventsCollection