SyncId::GetSyncGlobalId Method

Gets a SyncGlobalId sync ID.

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

public:
SyncGlobalId^ GetSyncGlobalId()

Return Value

Type: Microsoft.Synchronization::SyncGlobalId
The sync ID if it is a fixed-length SyncGlobalId; otherwise, throws InvalidOperationException.

ExceptionCondition
InvalidOperationException

This SyncId object is variable length or represents an id longer or shorter than 24 bytes.

Show: