ActivityFeedGatherer.CollectActivityEventsToConsolidate Method

Converts a dictionary consisting of owner record identifiers and ActivityEvent objects into a list of ActivityEvents that can be batch written to the database.

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

Syntax

'Declaration
Public Shared Sub CollectActivityEventsToConsolidate ( _
    eventsConsolidatedPerOwner As Dictionary(Of Long, List(Of ActivityEvent)), _
    <OutAttribute> ByRef eventsConsolidated As List(Of ActivityEvent) _
)
'Usage
Dim eventsConsolidatedPerOwner As Dictionary(Of Long, List(Of ActivityEvent))
Dim eventsConsolidated As List(Of ActivityEvent)

ActivityFeedGatherer.CollectActivityEventsToConsolidate(eventsConsolidatedPerOwner, _
    eventsConsolidated)
public static void CollectActivityEventsToConsolidate(
    Dictionary<long, List<ActivityEvent>> eventsConsolidatedPerOwner,
    out List<ActivityEvent> eventsConsolidated
)

Parameters

See Also

Reference

ActivityFeedGatherer Class

ActivityFeedGatherer Members

Microsoft.Office.Server.ActivityFeed Namespace