Thanks for this informations.
Regards
"Neil Padgett [MSFT]" <npadgett@online.microsoft.com> a écrit dans le
message de news:
uMQm4NISGHA.4952@TK2MSFTNGP09.phx.gbl...
> "Jérôme Piquot" <jerome.piquot@wolff.fr> wrote in message
> news:%23NpGPwdPGHA.720@TK2MSFTNGP14.phx.gbl...
>> Hello,
>>
>> It seems that everithing works if the réplica is in the folder containing
>> the data to sync or in a parent folder.
>>
>> if items are in //mypc/Default Store/Krystal and the replica file in
>> //mypc/Default Store/Replica it does not work.
>>
>> Why?
>
> [clip]
>
> Hi Jérôme,
>
> In WinFS Sync we have the concept of a replica. A replica defines some set
> of items in a WinFS store that can be synchronized in a sync session. In
> Beta 1, WinFS Sync allows you to create a replica whose scope is defined
> as all items under some container. So, when you call
> Replica.Create(myReplicaRoot), where myReplicaRoot is some container of
> your choosing, you are creating a replica encompassing all items contained
> under myReplicaRoot. The Replica item you create in WinFS is used by the
> system to store synchronization metadata associated with that
> synchronization scope. When you see a Replica item attached to some
> container in WinFS, you know that container is the root of a
> synchronization scope.
>
> In your case you've created a replica whose scope is all entities under
> \Replica. So, you can't use this replica to synchronize the items
> contained in \Krystal as those items are not within the synchronization
> scope for that replica. If you would like to synchronize items contained
> in \Krystal, you should create a replica containing those items by
> supplying the Krystal folder as the first argument to Replica.Create().
> You can then use this new replica for your sync.
>
> You can refer to the topics under the WinFS Sync node in the WinFS SDK for
> more details about replicas and synchronization scopes.
>
> I hope that helps,
> Neil
>
> --
> Neil Padgett [MSFT]
> npadgett@online.microsoft.com
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>