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)
Syntax
'Declaration
Public Overrides Property ClientId As Guid
'Usage
Dim instance As SqlCeClientSyncProvider
Dim value As Guid
value = instance.ClientId
instance.ClientId = value
public override Guid ClientId { get; set; }
public:
virtual property Guid ClientId {
Guid get () override;
void set (Guid value) override;
}
/** @property */
public Guid get_ClientId ()
/** @property */
public void set_ClientId (Guid value)
public override function get ClientId () : Guid
public override function set ClientId (value : Guid)
Property Value
A GUID that identifies the client database.
Remarks
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.
See Also
Reference
SqlCeClientSyncProvider Class
SqlCeClientSyncProvider Members
Microsoft.Synchronization.Data.SqlServerCe Namespace