Share via


SyncOrchestrator.RemoteProvider Property

Gets or sets the remote synchronization provider.

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

Syntax

'Declaration
Public Property RemoteProvider As SyncProvider
    Get
    Set
'Usage
Dim instance As SyncOrchestrator
Dim value As SyncProvider

value = instance.RemoteProvider

instance.RemoteProvider = value
public SyncProvider RemoteProvider { get; set; }
public:
property SyncProvider^ RemoteProvider {
    SyncProvider^ get ();
    void set (SyncProvider^ value);
}
member RemoteProvider : SyncProvider with get, set
function get RemoteProvider () : SyncProvider
function set RemoteProvider (value : SyncProvider)

Property Value

Type: Microsoft.Synchronization.SyncProvider
The remote synchronization provider. The default is a null reference (Nothing in Visual Basic).

Exceptions

Exception Condition
InvalidOperationException

This SyncOrchestrator object is neither ready nor canceled.

Remarks

The relative positions of the providers are combined with Direction to determine the flow of changes during synchronization.

See Also

Reference

SyncOrchestrator Class

Microsoft.Synchronization Namespace