SyncOrchestrator::Direction Property
Gets or sets the direction of synchronization. For two-way synchronizations, this also includes the order in which the synchronizations are performed.
Assembly: Microsoft.Synchronization (in Microsoft.Synchronization.dll)
public: property SyncDirectionOrder Direction { SyncDirectionOrder get (); void set (SyncDirectionOrder value); }
Property Value
Type: Microsoft.Synchronization::SyncDirectionOrderThe direction of synchronization. For two-way synchronizations, this also includes the order in which the synchronizations are performed. The default is UploadAndDownload.
| Exception | Condition |
|---|---|
| InvalidOperationException | This SyncOrchestrator object is neither ready nor canceled. |
| ArgumentOutOfRangeException | value is not a valid E:Microsoft.Synchronization.SyncDirectionOrder enumeration value. |
The direction is combined with the relative positions of the synchronization providers to determine the flow of changes during synchronization. Upload means changes originate from the local provider and are applied to the remote provider. Download means changes originate from the remote provider and are applied to the local provider.
Show: