Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Represents the mechanism by which the destination provider retrieves file data from the source provider.
interface IFileDataRetriever : IUnknown
Members
| IFileDataRetriever methods | Description |
|---|---|
Gets the path of the file, relative to the root directory of the replica. |
|
Gets information about the file. |
|
Gets the hash value of the file when hashing is in use. |
|
Gets a stream that can be used to access the file data. |
Remarks
When a custom provider is the source provider and an IFileSyncProvider object is the destination provider, the source provider must return an object that implements IFileDataRetriever in its ISynchronousDataRetriever::LoadChangeData method.
When a custom provider is the destination provider and an IFileSyncProvider object is the source provider, the destination provider will receive an IFileDataRetriever in its ISynchronousNotifyingChangeApplierTarget::SaveChange method. The destination provider can then use the IFileDataRetriever methods to get the file data from the source replica so that it can apply the change to the destination replica.
Requirements
Header: FileSyncProvider.h