ActivityFeedGatherer.BatchWriteActivityEvents Method
Commits a list of ActivityEvent objects to the database.
Namespace: Microsoft.Office.Server.ActivityFeed
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
Syntax
'Declaration
Public Shared Sub BatchWriteActivityEvents ( _
events As List(Of ActivityEvent), _
startIndex As Integer, _
numToWrite As Integer _
)
'Usage
Dim events As List(Of ActivityEvent)
Dim startIndex As Integer
Dim numToWrite As IntegerActivityFeedGatherer.BatchWriteActivityEvents(events, _
startIndex, numToWrite)
public static void BatchWriteActivityEvents(
List<ActivityEvent> events,
int startIndex,
int numToWrite
)
Parameters
events
Type: System.Collections.Generic.List<ActivityEvent>A list of ActivityEvent objects.
startIndex
Type: System.Int32The location in the list where this method is to start committing items to the database.
numToWrite
Type: System.Int32The number of items to commit to the database.