StorageProviderSyncRootManager Class
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.
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.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class StorageProviderSyncRootManager final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Storage.Provider.CloudFilesContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class StorageProviderSyncRootManager
Public Class StorageProviderSyncRootManager
- Inheritance
- Attributes
Windows 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. |