StorageProviderSyncRootManager Class

Definition

Provides the ability to register or unregister a Cloud Storage Provider sync root with the operating system.

public ref class StorageProviderSyncRootManager abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Storage.Provider.CloudFilesContract, 65536)]
/// [Windows.Foundation.Metadata.DualApiPartition(version=167772164)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Static(Windows.Storage.Provider.IStorageProviderSyncRootManagerStatics, 65536, "Windows.Storage.Provider.CloudFilesContract")]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class StorageProviderSyncRootManager abstract final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Storage.Provider.CloudFilesContract, 65536)]
/// [Windows.Foundation.Metadata.DualApiPartition(version=167772164)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Static(Windows.Storage.Provider.IStorageProviderSyncRootManagerStatics, 65536, "Windows.Storage.Provider.CloudFilesContract")]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Static(Windows.Storage.Provider.IStorageProviderSyncRootManagerStatics2, 262144, "Windows.Storage.Provider.CloudFilesContract")]
class StorageProviderSyncRootManager abstract final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Storage.Provider.CloudFilesContract), 65536)]
[Windows.Foundation.Metadata.DualApiPartition(version=167772164)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Static(typeof(Windows.Storage.Provider.IStorageProviderSyncRootManagerStatics), 65536, "Windows.Storage.Provider.CloudFilesContract")]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class StorageProviderSyncRootManager
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Storage.Provider.CloudFilesContract), 65536)]
[Windows.Foundation.Metadata.DualApiPartition(version=167772164)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Static(typeof(Windows.Storage.Provider.IStorageProviderSyncRootManagerStatics), 65536, "Windows.Storage.Provider.CloudFilesContract")]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Static(typeof(Windows.Storage.Provider.IStorageProviderSyncRootManagerStatics2), 262144, "Windows.Storage.Provider.CloudFilesContract")]
public static class StorageProviderSyncRootManager
Public Class StorageProviderSyncRootManager
Inheritance
StorageProviderSyncRootManager
Attributes

Windows 10 requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.16299.0)
API contract
Windows.Storage.Provider.CloudFilesContract (introduced in v1.0)

Remarks

Version history

Windows version SDK version Value added
2004 19041 IsSupported

Methods

GetCurrentSyncRoots()

Gets all of the currently registered sync roots.

GetSyncRootInformationForFolder(IStorageFolder)

Returns the properties of a Cloud Storage Provider's sync root given a storage folder.

GetSyncRootInformationForId(String)

Returns the properties of a Cloud Storage Provider's sync root given a sync root Id.

IsSupported()

Verifies that the operating system supports registering cloud files sync roots.

Register(StorageProviderSyncRootInfo)

Registers a sync root with the operating system.

Unregister(String)

Unregisters a sync root from the operating system.

Applies to