You are currently browsing legacy 3.0 version of documentation. Click here to switch to the newest 4.2 version.

We can help you with migration to the latest RavenDB

Contact Us Now
see on GitHub

Commands: GetDestinationsAsync

GetDestinationsAsync is used to retrieve all the configured synchronization destinations.

Syntax

Task<SynchronizationDestination[]> GetDestinationsAsync();

Return Value
Task<SynchronizationDestination[]> The array of synchronization destinations

Example

SynchronizationDestination[] destinations = await store.AsyncFilesCommands.Synchronization
													.GetDestinationsAsync();