Share via


SqlSyncFieldValue.GetUInt64 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 GetUInt64 As Nullable(Of ULong)
'Usage
Dim instance As SqlSyncFieldValue
Dim returnValue As Nullable(Of ULong)

returnValue = instance.GetUInt64()
public override Nullable<ulong> GetUInt64()
public:
virtual Nullable<unsigned long long> GetUInt64() override
abstract GetUInt64 : unit -> Nullable<uint64> 
override GetUInt64 : unit -> Nullable<uint64> 
public override function GetUInt64() : Nullable<ulong>

Return Value

Type: System.Nullable<UInt64>
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 is not a UInt64.

See Also

Reference

SqlSyncFieldValue Class

Microsoft.Synchronization.MetadataStorage Namespace