SearchModelFactory.CompletedSynchronizationState Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of CompletedSynchronizationState.
public static Azure.Search.Documents.Indexes.Models.CompletedSynchronizationState CompletedSynchronizationState(DateTimeOffset startTime = default, DateTimeOffset endTime = default, int itemsUpdatesProcessed = 0, int itemsUpdatesFailed = 0, int itemsSkipped = 0);
static member CompletedSynchronizationState : DateTimeOffset * DateTimeOffset * int * int * int -> Azure.Search.Documents.Indexes.Models.CompletedSynchronizationState
Public Shared Function CompletedSynchronizationState (Optional startTime As DateTimeOffset = Nothing, Optional endTime As DateTimeOffset = Nothing, Optional itemsUpdatesProcessed As Integer = 0, Optional itemsUpdatesFailed As Integer = 0, Optional itemsSkipped As Integer = 0) As CompletedSynchronizationState
Parameters
- startTime
- DateTimeOffset
The start time of the last completed synchronization.
- endTime
- DateTimeOffset
The end time of the last completed synchronization.
- itemsUpdatesProcessed
- Int32
The number of item updates successfully processed in the last synchronization.
- itemsUpdatesFailed
- Int32
The number of item updates that failed in the last synchronization.
- itemsSkipped
- Int32
The number of items skipped in the last synchronization.
Returns
A new CompletedSynchronizationState instance for mocking.