StorageProviderSyncRootManager.Unregister(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Unregisters a sync root from the operating system.
public:
static void Unregister(Platform::String ^ id);
static void Unregister(winrt::hstring const& id);
public static void Unregister(string id);
function unregister(id)
Public Shared Sub Unregister (id As String)
Parameters
- id
-
String
Platform::String
winrt::hstring
The Id of the sync root to unregister.
Remarks
Desktop apps that are not packaged using MSIX must call this method when uninstalled in order to unregister the sync root.
Packaged desktop apps do not need to call this method on uninstall, because the sync root will be automatically unregistered by the OS.