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.
Namespace: Microsoft.Office.Server.ActivityFeed
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
Syntax
'Declaration
Public Function GetActivitiesByUser ( _
publisher As String, _
maxEvents As Integer _
) As ActivityEventsCollection
'Usage
Dim instance As ActivityManager
Dim publisher As String
Dim maxEvents As Integer
Dim returnValue As ActivityEventsCollection
returnValue = instance.GetActivitiesByUser(publisher, _
maxEvents)
public ActivityEventsCollection GetActivitiesByUser(
string publisher,
int maxEvents
)
Parameters
publisher
Type: System.StringA string that represents the name of the entity that has published the events in the collection.
maxEvents
Type: System.Int32The maximum number of items in the collection.
Return Value
Type: Microsoft.Office.Server.ActivityFeed.ActivityEventsCollection