SqlCeClientSyncProvider.ClientId Property

Gets or sets the GUID that Synchronization Services 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
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, Synchronization Services 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.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements (Synchronization Services).

Target Platforms

See Also

Reference

SqlCeClientSyncProvider Class
SqlCeClientSyncProvider Members
Microsoft.Synchronization.Data.SqlServerCe Namespace