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.

Namespace:  Microsoft.Synchronization
Assembly:  Microsoft.Synchronization (in Microsoft.Synchronization.dll)

Syntax

'Declaration
Public Property Direction As SyncDirectionOrder
    Get
    Set
'Usage
Dim instance As SyncOrchestrator
Dim value As SyncDirectionOrder

value = instance.Direction

instance.Direction = value
public SyncDirectionOrder Direction { get; set; }
public:
property SyncDirectionOrder Direction {
    SyncDirectionOrder get ();
    void set (SyncDirectionOrder value);
}
member Direction : SyncDirectionOrder with get, set
function get Direction () : SyncDirectionOrder
function set Direction (value : SyncDirectionOrder)

Property Value

Type: Microsoft.Synchronization.SyncDirectionOrder
The direction of synchronization. For two-way synchronizations, this also includes the order in which the synchronizations are performed. The default is UploadAndDownload.

Exceptions

Exception Condition
InvalidOperationException

This SyncOrchestrator object is neither ready nor canceled.

ArgumentOutOfRangeException

value is not a valid E:Microsoft.Synchronization.SyncDirectionOrder enumeration value.

Remarks

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.

See Also

Reference

SyncOrchestrator Class

Microsoft.Synchronization Namespace