Hi
Thanks for the reply. I want to use the Mobile 10 SDK to sync through a Map Document (mxd) - not through Server. I don't want to use the GP tools as we have tried these and they are unreliable when building caches for large datasets at v10.
The GP tools sync using a map document and not server, so I am thinking it should be possible, but the MapDocumentConnection class is abstract and only MobileServiceConnection implements it. MobileServiceConnection only has URL as a parameter.
I was expecting a way to set a path to an mxd file, but can't see anything in the SDK to do that.
I'm now working on similar code to yours to sync with Server via url, but would ideally like to sync using an mxd and not through server, just as the GP tools do.
Regards
John