ISyncStateProvider Methods |
The ISyncStateProvider type exposes the following members.
| Name | Description | |
|---|---|---|
| AddEndPoint |
Adds an endpoint to the state.
This can be used by the state provider to prepare needed internal structure.
| |
| Backup |
Backups the state.
The implementation is specific to the state provider.
The exact set of required properties depends on the implementation.
| |
| BeginTransaction |
Begins a named transaction.
| |
| CommitTransaction |
Commits a named transaction.
| |
| DeleteChanges |
Deletes the changes and the associated job changes. Both parameters can be unset.
| |
| DeleteDownloads |
Deletes a download or all downloads if no parameter is set.
| |
| DeleteEntries |
Deletes children and grand children entries, for a given endpoint synchronizer.
| |
| DeleteJobChanges |
Deletes a job changes. Both parameters can be unset.
| |
| DeleteJobs |
Deletes a job and its associated job changes, or delete all jobs if no parameter is set.
| |
| EnumerateChanges |
Enumerates all New changes.
| |
| EnumerateDownloads |
Enumerates downloads. Both parameters can be unset.
| |
| EnumerateEntries |
Enumerates children entries for a parent identifier, for a given endpoint synchronizer.
| |
| EnumerateJobChanges |
Enumerates a job changes, or all job changes.
| |
| EnumerateJobs |
Enumerates all jobs.
| |
| ExecuteCommand |
Executes a given command on the state provider.
The implementation is specific to the state provider.
The exact set of required properties depends on the implementation.
| |
| GetChange |
Gets a change using its identifier.
| |
| GetEntry |
Gets an entry using its identifier.
| |
| GetEntryByFilePath |
Gets a entry using a file path.
| |
| GetEntryFilePath |
Gets an entry file path relative to the file system root path, for a given endpoint synchronizer.
| |
| RemoveEndPoint |
Removes an endpoint from the state.
This can be used to delete some state from the state provider.
| |
| Reset |
Resets the state. The implementation is specific to the state provider.
| |
| RollbackTransaction |
Rollbacks a named transaction.
| |
| SaveChange |
Saves a change.
| |
| SaveDownload |
Saves a download.
| |
| SaveEntry |
Saves an entry, for a given endpoint synchronizer.
| |
| SaveJob |
Saves a job.
| |
| SaveJobChange |
Saves a job change.
|