SyncOrchestrator.LocalProvider Property

Gets or sets the local synchronization provider.

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

Syntax

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

value = instance.LocalProvider

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

Property Value

Type: Microsoft.Synchronization.SyncProvider
The local 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