SyncId::GetGuidId Method

Gets a GUID sync ID.

Namespace:  Microsoft.Synchronization
Assembly:  Microsoft.Synchronization (in Microsoft.Synchronization.dll)

public:
Guid GetGuidId()

Return Value

Type: System::Guid
The sync ID if it is a fixed-length GUID; otherwise, throws InvalidOperationException.

ExceptionCondition
InvalidOperationException

This SyncId is variable length, or it represents an id longer or shorter than 16 bytes.

Show: