Before synchronizing with Unwired Server, you must configure a client with information for establishing a connection with the Unwired Server where the mobile application has been deployed.
ConnectionProfile cp = SampleAppDB.GetSynchronizationProfile(); cp.DomainName = "default";
ConnectionProfile cp = SampleAppDB.GetSynchronizationProfile(); cp.ServerName = "Relay_Server"; cp.PortNumber = 80; cp.NetworkStreamParams = "url_suffix=ias_relay_server/client/rs_client.dll/Ryan.SUPFarm"; cp.Save();
ConnectionProfile profile = MyDatabase.GetSynchronizationProfile(); profile.DomainName = "default"; Reference Developer Reference for Windows and Windows Mobile 47 profile.ServerName = "host-name"; profile.PortNumber = 2481; profile.NetworkProtocol = "https"; profile.NetworkStreamParams = "trusted_certificates=rsa_public_cert.crt";