SearchModelFactory.SynchronizationState 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 SynchronizationState.
public static Azure.Search.Documents.Indexes.Models.SynchronizationState SynchronizationState(DateTimeOffset startTime = default, int itemsUpdatesProcessed = 0, int itemsUpdatesFailed = 0, int itemsSkipped = 0);
static member SynchronizationState : DateTimeOffset * int * int * int -> Azure.Search.Documents.Indexes.Models.SynchronizationState
Public Shared Function SynchronizationState (Optional startTime As DateTimeOffset = Nothing, Optional itemsUpdatesProcessed As Integer = 0, Optional itemsUpdatesFailed As Integer = 0, Optional itemsSkipped As Integer = 0) As SynchronizationState
Parameters
- startTime
- DateTimeOffset
The start time of the current synchronization.
- itemsUpdatesProcessed
- Int32
The number of item updates successfully processed in the current synchronization.
- itemsUpdatesFailed
- Int32
The number of item updates that failed in the current synchronization.
- itemsSkipped
- Int32
The number of items skipped in the current synchronization.
Returns
A new SynchronizationState instance for mocking.