Share via


StorageProviderSyncRootInfo.Id Property

Definition

A unique identifier that distinguishes this sync root from other sync roots registered on the system. This identifier is used by the Windows storage provider framework to manage and track the sync root throughout its lifecycle.

public:
 property Platform::String ^ Id { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring Id();

void Id(winrt::hstring value);
public string Id { get; set; }
var string = storageProviderSyncRootInfo.id;
storageProviderSyncRootInfo.id = string;
Public Property Id As String

Property Value

String

Platform::String

winrt::hstring

An identifier in the form: [Storage Provider ID]![Windows SID]![Account ID]

Remarks

An example of an ID might look something like: "OneDrive!S-1-1234!Personal".

Note that the maximum allowed length for an ID is 174 characters. Setting a longer ID can result in an error (ERROR_INSUFFICIENT_BUFFER).

Applies to