Share via


SqlSyncFieldValue.GetString 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 GetString As String
'Usage
Dim instance As SqlSyncFieldValue
Dim returnValue As String

returnValue = instance.GetString()
public override string GetString()
public:
virtual String^ GetString() override
abstract GetString : unit -> string 
override GetString : unit -> string 
public override function GetString() : String

Return Value

Type: System.String
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 String.

See Also

Reference

SqlSyncFieldValue Class

Microsoft.Synchronization.MetadataStorage Namespace