Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets an ActivityEventsCollection object containing activity events, up to a specified maximum number, 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, _
maxEvents As Integer _
) As ActivityEventsCollection
'Usage
Dim instance As ActivityManager
Dim asSeenBy As Privacy
Dim minEventTime As DateTime
Dim maxEvents As Integer
Dim returnValue As ActivityEventsCollection
returnValue = instance.GetActivitiesByMe(asSeenBy, _
minEventTime, maxEvents)
public ActivityEventsCollection GetActivitiesByMe(
Privacy asSeenBy,
DateTime minEventTime,
int maxEvents
)
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.
maxEvents
Type: System.Int32The maximum number of events in the collection.
Return Value
Type: Microsoft.Office.Server.ActivityFeed.ActivityEventsCollection