SqlCeClientSyncProvider.ClientId Property

Gets or sets the GUID that Sync Framework uses to identify the client database.

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

public override Guid ClientId { get; set; }

Property Value

Type: System.Guid
A GUID that identifies the client database.

ExceptionCondition
DataSyncException

Another transaction is in progress.

By default, Sync Framework identifies clients by using a GUID. You can map this GUID to an integer value so that you can use integers to identify clients at the server. For more information, see How to: Use Session Variables.

Show: