corelibraries-devexpress-dot-xtrascheduler-dot-exchange-dot-appointmentexchanger.md
Gets the number of objects (appointments) that will take part in an exchange procedure.
Namespace : DevExpress.XtraScheduler.Exchange
Assembly : DevExpress.XtraScheduler.v25.2.Core.dll
NuGet Package : DevExpress.Scheduler.Core
public int SourceObjectCount { get; }
Public ReadOnly Property SourceObjectCount As Integer
| Type | Description |
|---|---|
| Int32 |
An integer, representing the number of objects for exchange.
|
The synchronization process takes time to accomplish. You may use a ProgressBarControl to display the progress of this operation. In this situation, the RepositoryItemProgressBar.Maximum should be set to the SourceObjectCount value for correct indication.
The SourceObjectCount includes normal appointments as well as patterns and recurrent series exceptions (appointments of AppointmentType.ChangedOccurrence or AppointmentType.DeletedOccurrence types). It counts all objects subjected to the synchronization process, regardless of their final state - they could be either modified or deleted during synchronization.
See Also