Commands: SetDestinationsAsync

SetDestinationsAsync is used to setup the servers where files should be synchronized.

Syntax

Task SetDestinationsAsync(params SynchronizationDestination[] destinations);
Parameters
destinations SynchronizationDestination[] The array of SynchronizationDestination objects representing destination file systems

Return Value
Task A task that represents the asynchronous set operation

Example

await store.AsyncFilesCommands.Synchronization.SetDestinationsAsync(new SynchronizationDestination
{
	ServerUrl = "http://localhost:8080/",
	FileSystem = "BackupFS"
});