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.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for