<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to unregister a replica when a local geodatabase is removed? in ArcGIS AppStudio Questions</title>
    <link>https://community.esri.com/t5/arcgis-appstudio-questions/how-to-unregister-a-replica-when-a-local/m-p/877273#M3527</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Luke!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 May 2016 20:20:31 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2016-05-23T20:20:31Z</dc:date>
    <item>
      <title>How to unregister a replica when a local geodatabase is removed?</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/how-to-unregister-a-replica-when-a-local/m-p/877270#M3524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;When an offline geodatabase is created from a feature service, a replica is created on the server so that they can be synchronized. When the offline geodatabase is removed from the device, the replica can (should) be removed from the server as it is no longer required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have examples of how to go about unregistering the replica that was linked to a particular offline geodatabase?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't see any properties or methods of the Geodatabase object that might reveal the associated replica id. If we at least knew the replica id, then could use a NetworkRequest to unregister it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;-Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 11:24:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/how-to-unregister-a-replica-when-a-local/m-p/877270#M3524</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2016-05-23T11:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to unregister a replica when a local geodatabase is removed?</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/how-to-unregister-a-replica-when-a-local/m-p/877271#M3525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Paul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The unregister method on GeodatabaseSyncTask should do what you need - &lt;A href="https://developers.arcgis.com/qt/qml/api-reference/class_geodatabase_sync_task.html#acca8e4f4a9418776c99ae06f965c1624" title="https://developers.arcgis.com/qt/qml/api-reference/class_geodatabase_sync_task.html#acca8e4f4a9418776c99ae06f965c1624"&gt;ArcGIS Runtime SDK for Qt QML API: GeodatabaseSyncTask Class Reference&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Luke &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 16:05:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/how-to-unregister-a-replica-when-a-local/m-p/877271#M3525</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2016-05-23T16:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to unregister a replica when a local geodatabase is removed?</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/how-to-unregister-a-replica-when-a-local/m-p/877272#M3526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you create a geodatabase using GeodatabaseSyncTask::generateGeodatabase, the replica is created and the local database is ready to be edited and synced. If you don't any further syncs or you wanna share that geodatabase, you need to unregister it. It can be done by using [ GeodatabaseSyncTask::unregisterGeodatabase(Geodatabase geodatabase) ].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After that you can go ahead and delete the geodatabase. I hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/qt/qml/api-reference/class_geodatabase_sync_task.html#acca8e4f4a9418776c99ae06f965c1624" title="https://developers.arcgis.com/qt/qml/api-reference/class_geodatabase_sync_task.html#acca8e4f4a9418776c99ae06f965c1624"&gt;ArcGIS Runtime SDK for Qt QML API: GeodatabaseSyncTask Class Reference&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 16:10:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/how-to-unregister-a-replica-when-a-local/m-p/877272#M3526</guid>
      <dc:creator>nakulmanocha</dc:creator>
      <dc:date>2016-05-23T16:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to unregister a replica when a local geodatabase is removed?</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/how-to-unregister-a-replica-when-a-local/m-p/877273#M3527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Luke!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 20:20:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/how-to-unregister-a-replica-when-a-local/m-p/877273#M3527</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2016-05-23T20:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to unregister a replica when a local geodatabase is removed?</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/how-to-unregister-a-replica-when-a-local/m-p/877274#M3528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Nakul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 20:20:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/how-to-unregister-a-replica-when-a-local/m-p/877274#M3528</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2016-05-23T20:20:42Z</dc:date>
    </item>
  </channel>
</rss>

