<s>
Microsoft	B-Device
Sync	I-Device
Framework	I-Device
is	O
a	O
data	B-General_Concept
synchronization	I-General_Concept
platform	O
from	O
Microsoft	O
that	O
can	O
be	O
used	O
to	O
synchronize	O
data	O
across	O
multiple	O
data	O
stores	O
.	O
</s>
<s>
Sync	B-Device
Framework	I-Device
includes	O
a	O
transport-agnostic	O
architecture	O
,	O
into	O
which	O
data	O
store-specific	O
synchronization	O
providers	O
,	O
modelled	O
on	O
the	O
ADO.NET	B-Device
data	I-Device
provider	I-Device
API	B-General_Concept
,	O
can	O
be	O
plugged	O
in	O
.	O
</s>
<s>
Sync	B-Device
Framework	I-Device
can	O
be	O
used	O
for	O
offline	O
access	O
to	O
data	O
,	O
by	O
working	O
against	O
a	O
cached	O
set	O
of	O
data	O
and	O
submitting	O
the	O
changes	O
to	O
a	O
master	O
database	O
in	O
a	O
batch	O
,	O
as	O
well	O
as	O
to	O
synchronize	O
changes	O
to	O
a	O
data	O
source	O
across	O
all	O
consumers	O
(	O
publish/subscribe	O
sync	O
)	O
and	O
peer-to-peer	O
synchronization	O
of	O
multiple	O
data	O
sources	O
.	O
</s>
<s>
Sync	B-Device
Framework	I-Device
features	O
built-in	O
capabilities	O
for	O
conflict	O
detection	O
–	O
whether	O
data	O
to	O
be	O
changed	O
has	O
already	O
been	O
updated	O
–	O
and	O
can	O
flag	O
them	O
for	O
manual	O
inspection	O
or	O
use	O
defined	O
policies	O
to	O
try	O
to	O
resolve	O
the	O
conflict	O
.	O
</s>
<s>
Sync	B-Device
Services	I-Device
includes	O
an	O
embedded	O
SQL	B-Operating_System
Server	I-Operating_System
Compact	I-Operating_System
database	O
to	O
store	O
metadata	O
about	O
the	O
synchronization	O
relationships	O
as	O
well	O
as	O
about	O
each	O
sync	O
attempt	O
.	O
</s>
<s>
The	O
Sync	B-Device
Framework	I-Device
API	B-General_Concept
is	O
surfaced	O
both	O
in	O
managed	O
code	O
,	O
for	O
use	O
with	O
.NET	B-Application
Framework	I-Application
applications	O
,	O
as	O
well	O
as	O
unmanaged	O
code	O
,	O
for	O
use	O
with	O
COM	B-Application
applications	O
.	O
</s>
<s>
It	O
was	O
scheduled	O
to	O
ship	O
with	O
Visual	B-Application
Studio	I-Application
2008	I-Application
in	O
late	O
November	O
2007	O
.	O
</s>
<s>
The	O
Sync	B-Device
Framework	I-Device
runtime	O
provides	O
synchronization	O
functionality	O
,	O
without	O
being	O
tied	O
to	O
any	O
data	O
store	O
or	O
data	O
transport	O
protocols	O
.	O
</s>
<s>
Sync	B-Device
Framework	I-Device
ships	O
with	O
three	O
providers	O
:	O
Microsoft	B-Device
Sync	I-Device
Services	I-Device
for	I-Device
ADO.NET	I-Device
,	O
Sync	B-Device
Services	I-Device
for	I-Device
File	I-Device
Systems	I-Device
,	O
and	O
Sync	B-Device
Services	I-Device
for	I-Device
SSE	I-Device
.	O
</s>
<s>
Sync	B-Device
Services	I-Device
can	O
be	O
used	O
to	O
synchronize	O
devices	O
by	O
supplying	O
providers	O
for	O
the	O
device	O
.	O
</s>
<s>
Similarly	O
,	O
PIM	O
software	O
such	O
as	O
Microsoft	B-Application
Office	I-Application
Outlook	I-Application
and	O
media	O
libraries	O
such	O
as	O
Windows	B-Device
Media	I-Device
Player	I-Device
can	O
also	O
be	O
supported	O
by	O
providing	O
suitable	O
providers	O
.	O
</s>
<s>
The	O
metadata	O
maintained	O
includes	O
the	O
replica	O
ID	O
,	O
tick	O
count	O
(	O
representing	O
progression	O
in	O
time	O
)	O
,	O
conflict	O
log	O
,	O
tombstone	B-Language
log	I-Language
,	O
and	O
the	O
set	O
of	O
the	O
changes	O
the	O
data	O
store	O
has	O
seen	O
(	O
knowledge	O
)	O
.	O
</s>
<s>
Sync	B-Device
Framework	I-Device
defines	O
a	O
set	O
of	O
operation	O
for	O
the	O
Knowledge	O
object	O
for	O
a	O
replica	O
:	O
Contains	O
which	O
determines	O
if	O
the	O
store	O
contains	O
a	O
specified	O
change	O
,	O
Union	O
to	O
merge	O
two	O
knowledge	O
sets	O
,	O
Project	O
to	O
project	O
out	O
the	O
knowledge	O
for	O
a	O
subset	O
of	O
the	O
items	O
,	O
and	O
Exclude	O
to	O
create	O
a	O
new	O
knowledge	O
set	O
without	O
the	O
changes	O
for	O
a	O
subset	O
of	O
the	O
items	O
.	O
</s>
<s>
The	O
metadata	O
is	O
managed	O
by	O
the	O
metadata	O
storage	O
service	O
which	O
uses	O
an	O
in-process	O
SQL	B-Operating_System
Server	I-Operating_System
Compact	I-Operating_System
database	O
to	O
store	O
the	O
metadata	O
on	O
a	O
per-provider	O
basis	O
.	O
</s>
<s>
The	O
Sync	B-Device
Services	I-Device
API	B-General_Concept
operates	O
by	O
creating	O
a	O
synchronization	O
session	O
,	O
represented	O
by	O
a	O
Session	O
object	O
.	O
</s>
<s>
Microsoft	B-Device
Sync	I-Device
Services	I-Device
for	I-Device
ADO.NET	I-Device
is	O
the	O
synchronization	O
provider	O
for	O
synchronizing	O
across	O
databases	O
using	O
ADO.NET	B-Device
.	O
</s>
<s>
ADO.NET	B-Device
Datasets	O
are	O
synchronized	O
between	O
the	O
source	O
and	O
the	O
destination	O
,	O
which	O
are	O
then	O
persisted	O
to	O
a	O
database	O
server	O
.	O
</s>
<s>
It	O
can	O
also	O
support	O
data	O
sources	O
other	O
than	O
a	O
relational	B-Application
database	I-Application
,	O
like	O
an	O
XML	B-Application
database	I-Application
or	O
web	O
service	O
as	O
long	O
as	O
a	O
proxy	O
is	O
provided	O
to	O
abstract	O
the	O
data	O
source	O
and	O
a	O
data	O
provider	O
is	O
available	O
for	O
the	O
proxy	O
.	O
</s>
<s>
The	O
Sync	B-Device
Services	I-Device
for	I-Device
ADO.NET	I-Device
provider	O
is	O
intended	O
for	O
use	O
in	O
offline	O
applications	O
,	O
where	O
data	O
from	O
the	O
central	O
database	O
is	O
cached	O
locally	O
.	O
</s>
<s>
Locally	O
,	O
the	O
datasets	O
can	O
be	O
stored	O
either	O
by	O
using	O
the	O
SQL	B-Operating_System
Server	I-Operating_System
Compact	I-Operating_System
database	O
or	O
any	O
other	O
database	O
server	O
supporting	O
ADO.NET	B-Device
.	O
</s>
<s>
Sync	B-Device
Services	I-Device
for	I-Device
ADO.NET	I-Device
allows	O
incremental	O
change	O
tracking	O
,	O
which	O
allows	O
only	O
the	O
changes	O
to	O
be	O
replicated	O
rather	O
than	O
replicating	O
the	O
entire	O
copy	O
.	O
</s>
<s>
The	O
Sync	B-Device
Services	I-Device
for	I-Device
File	I-Device
Systems	I-Device
provider	O
is	O
used	O
to	O
synchronize	O
two	O
file	O
system	O
locations	O
,	O
which	O
can	O
either	O
be	O
local	O
folders	O
or	O
network	O
shares	O
.	O
</s>
<s>
Changes	O
to	O
files	O
are	O
detected	O
by	O
using	O
timestamps	O
,	O
or	O
optionally	O
,	O
by	O
hashing	B-Error_Name
the	O
file	O
contents	O
.	O
</s>
<s>
Any	O
deletes	O
can	O
be	O
configured	O
to	O
move	O
the	O
file	O
to	O
the	O
Recycle	B-Application
Bin	I-Application
,	O
so	O
that	O
it	O
can	O
be	O
recovered	O
if	O
necessary	O
.	O
</s>
<s>
The	O
Sync	B-Device
Services	I-Device
for	I-Device
File	I-Device
Systems	I-Device
provider	O
also	O
provides	O
a	O
preview	O
mode	O
which	O
enumerates	O
the	O
actions	O
that	O
will	O
be	O
taken	O
for	O
a	O
sync	O
operation	O
,	O
without	O
actually	O
performing	O
the	O
operations	O
,	O
with	O
a	O
view	O
to	O
letting	O
the	O
users	O
review	O
the	O
changes	O
that	O
will	O
be	O
made	O
.	O
</s>
<s>
Neither	O
Sync	B-Device
Framework	I-Device
or	O
the	O
Sync	B-Device
Services	I-Device
for	I-Device
File	I-Device
Systems	I-Device
provider	O
perform	O
any	O
authentication	O
before	O
accessing	O
the	O
files	O
;	O
so	O
any	O
authentication	O
is	O
the	O
job	O
of	O
the	O
application	O
using	O
the	O
Sync	B-Device
Framework	I-Device
API	B-General_Concept
.	O
</s>
<s>
The	O
Sync	B-Device
Services	I-Device
for	I-Device
File	I-Device
Systems	I-Device
provider	O
also	O
supports	O
static	O
filters	O
to	O
exclude	O
files	O
based	O
on	O
wildcards	B-Algorithm
or	O
attributes	O
.	O
</s>
<s>
In	O
the	O
first	O
release	O
,	O
however	O
,	O
the	O
Sync	B-Device
Services	I-Device
for	I-Device
File	I-Device
Systems	I-Device
provider	O
does	O
not	O
sync	O
either	O
NTFS	O
security	O
descriptors	O
or	O
Alternate	O
Data	O
Streams	O
.	O
</s>
<s>
The	O
Sync	B-Device
Services	I-Device
for	O
FeedSync	O
provider	O
can	O
be	O
used	O
to	O
help	O
synchronize	O
replicas	O
by	O
creating	O
a	O
FeedSync	O
enabled	O
feed	B-General_Concept
,	O
either	O
in	O
RSS	O
or	O
ATOM	B-Language
formats	O
,	O
which	O
can	O
then	O
be	O
subscribed	O
to	O
by	O
interested	O
parties	O
.	O
</s>
<s>
The	O
provider	O
can	O
also	O
be	O
used	O
to	O
extract	O
items	O
from	O
a	O
FeedSync	O
feed	B-General_Concept
and	O
merge	O
the	O
changes	O
back	O
to	O
the	O
data	O
store	O
.	O
</s>
<s>
Sync	B-Device
Services	I-Device
for	O
FeedSync	O
uses	O
another	O
provider	O
to	O
connect	O
to	O
the	O
data	O
store	O
.	O
</s>
<s>
Sync	B-Device
Services	I-Device
for	O
FeedSync	O
provides	O
services	O
that	O
can	O
be	O
used	O
to	O
help	O
synchronize	O
the	O
data	O
of	O
a	O
replica	O
with	O
RSS	O
and	O
Atom	B-Language
feeds	O
.	O
</s>
<s>
By	O
using	O
the	O
FeedSync	O
producer	O
service	O
,	O
a	O
synchronization	O
application	O
can	O
work	O
with	O
a	O
synchronization	O
provider	O
to	O
create	O
a	O
list	O
of	O
items	O
from	O
a	O
replica	O
and	O
put	O
them	O
in	O
an	O
RSS	O
or	O
Atom	B-Language
XML	O
stream	O
.	O
</s>
<s>
Similarly	O
,	O
the	O
FeedSync	O
consumer	O
service	O
helps	O
a	O
synchronization	O
application	O
take	O
an	O
input	O
RSS	O
or	O
Atom	B-Language
XML	O
stream	O
,	O
extract	O
items	O
from	O
it	O
,	O
and	O
then	O
use	O
a	O
synchronization	O
provider	O
to	O
apply	O
only	O
the	O
appropriate	O
changes	O
to	O
a	O
replica	O
.	O
</s>
<s>
Because	O
Sync	B-Device
Framework	I-Device
underlies	O
the	O
exchange	O
of	O
feed	B-General_Concept
items	O
,	O
two	O
feeds	O
can	O
be	O
cross-subscribed	O
and	O
easily	O
synchronized	O
with	O
one	O
another	O
as	O
peers	O
in	O
a	O
synchronization	O
community	O
.	O
</s>
<s>
Microsoft	B-Device
Sync	I-Device
Framework	I-Device
is	O
free	O
on	O
Windows	O
and	O
Windows	O
Mobile	O
devices	O
.	O
</s>
