Megosztás a következőn keresztül:


StorageProviderSyncRootManager.Unregister(String) Method

Definition

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