Share via


SyncOrchestrator.Synchronize Method

Starts a synchronization session.

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

Syntax

'Declaration
Public Function Synchronize As SyncOperationStatistics
'Usage
Dim instance As SyncOrchestrator
Dim returnValue As SyncOperationStatistics

returnValue = instance.Synchronize
public SyncOperationStatistics Synchronize ()
public:
SyncOperationStatistics^ Synchronize ()
public SyncOperationStatistics Synchronize ()
public function Synchronize () : SyncOperationStatistics

Return Value

Statistics about the synchronization session.

Remarks

The synchronization that this method performs will be one-way or two-way, depending on the value of Direction.

When this method is called, neither LocalProvider nor RemoteProvider can be a null reference (Nothing in Visual Basic).

This method sets State to correspond to the value of Direction.

See Also

Reference

SyncOrchestrator Class
SyncOrchestrator Members
Microsoft.Synchronization Namespace