ภาษา

SearchModelFactory.CompletedSynchronizationState Method

Definition

Represents the completed state of the last synchronization.

public static Azure.Search.Documents.KnowledgeBases.Models.CompletedSynchronizationState CompletedSynchronizationState(Azure.Search.Documents.KnowledgeBases.Models.KnowledgeSourceGraphStatistics graphStatistics, DateTimeOffset startTime = default, DateTimeOffset endTime = default, int itemsUpdatesProcessed = 0, int itemsUpdatesFailed = 0, int itemsSkipped = 0);
static member CompletedSynchronizationState : Azure.Search.Documents.KnowledgeBases.Models.KnowledgeSourceGraphStatistics * DateTimeOffset * DateTimeOffset * int * int * int -> Azure.Search.Documents.KnowledgeBases.Models.CompletedSynchronizationState
Public Shared Function CompletedSynchronizationState (graphStatistics As KnowledgeSourceGraphStatistics, 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

graphStatistics
KnowledgeSourceGraphStatistics

Graph extraction statistics for this synchronization. Omitted when no graph extraction took place.

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.

Applies to