StorageProviderSyncRootInfo 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.
Contains the properties of a Cloud Storage Provider's sync root to be registered with the operating system.
public ref class StorageProviderSyncRootInfo sealed
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Storage.Provider.CloudFilesContract")]
/// [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 StorageProviderSyncRootInfo final
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Storage.Provider.CloudFilesContract")]
[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 sealed class StorageProviderSyncRootInfo
function StorageProviderSyncRootInfo()
Public NotInheritable Class StorageProviderSyncRootInfo
- 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 |
---|---|---|
1809 | 17763 | ProviderId |
2004 | 19041 | FallbackFileTypeInfo |
Constructors
StorageProviderSyncRootInfo() |
A StorageProviderSyncRootInfo default constructor. |
Properties
AllowPinning |
Enables or disables the ability for files to be made available offline. |
Context |
Contains the sync root identity information. |
DisplayNameResource |
An optional display name that maps to the existing sync root registration. |
FallbackFileTypeInfo |
Note Scenarios for this API are not supported. |
HardlinkPolicy |
The hard link policy of the sync root. |
HydrationPolicy |
The hydration policy of the sync root registration. |
HydrationPolicyModifier |
The hydration policy modifier of the sync root registration. |
IconResource |
A path to an icon resource for the custom state of a file or folder. |
Id |
An identifier for the sync root. |
InSyncPolicy |
Provides access to the sync policy for the Cloud Storage Provider. |
Path |
A storage folder that represents the path to the root of the cloud based folder system. |
PopulationPolicy |
The population policy of the sync root registration. |
ProtectionMode |
The protection mode of the sync root registration. |
ProviderId |
Gets or sets a GUID that represents the ID of the storage provider. |
RecycleBinUri |
A Uri to a cloud storage recycle bin. |
ShowSiblingsAsGroup |
Shows sibling sync roots listed under the main sync root in the File Explorer. |
StorageProviderItemPropertyDefinitions |
Gets the StorageProviderItemPropertyDefinition information for a sync root. |
Version |
The version number of the sync root. |