다음을 통해 공유


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

  • startIndex
    Type: System.Int32

    The location in the list where this method is to start committing items to the database.

  • numToWrite
    Type: System.Int32

    The number of items to commit to the database.

See Also

Reference

ActivityFeedGatherer Class

ActivityFeedGatherer Members

Microsoft.Office.Server.ActivityFeed Namespace