SqlSyncFieldValue::GetGuid Method

Gets the value of the custom field.

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

public:
virtual Nullable<Guid> GetGuid() override

Return Value

Type: System::Nullable<Guid>
The value of the custom field. Returns a nullptr when the field value has not been set.

ExceptionCondition
MetadataStoreInvalidOperationException

The field in this SqlSyncFieldValue object cannot be represented as a Guid.

Show: