Xceed .NET Libraries Documentation
EasySynchronize Method


Xceed.Synchronization Assembly > Xceed.Synchronization Namespace > Synchronizer Class : EasySynchronize Method

Starts the synchronization of the specified items. If provided, the remaining parameters control various aspects of the synchronization. Parameters can be specified in any order; if the same parameter is specified more than once, only the last occurence of the parameter value is used. If these parameters are not provided, default values are used. If an unsupported type is encountered, an ArgumentException is thrown. For details on the types of parameters recognized by this method, please see the documentation.

When passed as a parameter to this method, the following types are added to the list of items to synchronize:Xceed.FileSystem.FileSystemItem[] and arrays of FileSystemItem-derived objects such as Xceed.FileSystem.AbstractFile[] and Xceed.FileSystem.AbstractFolder[], FileSystemItem, AbstractFile, AbstractFolder.

Syntax
'Declaration
 
Public Shared Function EasySynchronize( _
   ByVal ParamArray parameters() As Object _
) As SynchronizationResult
'Usage
 
Dim parameters() As Object
Dim value As SynchronizationResult
 
value = Synchronizer.EasySynchronize(parameters)
public static SynchronizationResult EasySynchronize( 
   params object[] parameters
)

Parameters

parameters

Return Value

A SynchronizationResult value that specifies one or more results from the synchronization. The value is a set of flags. Typically, a value with the SynchronizationResult.ItemsSynchronized bit set indicates success; when the bit is not set, it means that no files were synchronized, indicating some kind of failure.

In success or failure, the other bit values of the SynchronizationResult enumeration give useful information on what did or did not happen during the synchronization.

Remarks

The following will be recursively scanned as parameters to parse:

The following types control various aspects of the synchronization process:

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Synchronizer Class
Synchronizer Members