SqlSyncFieldValue.GetGuid Method
Gets the value of the custom field.
Namespace: Microsoft.Synchronization.MetadataStorage
Assembly: Microsoft.Synchronization.MetadataStorage (in Microsoft.Synchronization.MetadataStorage.dll)
Syntax
'Declaration
Public Overrides Function GetGuid As Nullable(Of Guid)
'Usage
Dim instance As SqlSyncFieldValue
Dim returnValue As Nullable(Of Guid)
returnValue = instance.GetGuid()
public override Nullable<Guid> GetGuid()
public:
virtual Nullable<Guid> GetGuid() override
abstract GetGuid : unit -> Nullable<Guid>
override GetGuid : unit -> Nullable<Guid>
public override function GetGuid() : Nullable<Guid>
Return Value
Type: System.Nullable<Guid>
The value of the custom field. Returns a null reference (Nothing in Visual Basic) when the field value has not been set.
Exceptions
Exception | Condition |
---|---|
MetadataStoreInvalidOperationException | The field in this SqlSyncFieldValue object cannot be represented as a Guid. |