SyncContext.OriginatorId Property

Gets or sets the originator ID. This allows you to map the ClientId to a different value on the server.

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

Syntax

'Declaration
Public Property OriginatorId As Integer
    Get
    Set
'Usage
Dim instance As SyncContext
Dim value As Integer

value = instance.OriginatorId

instance.OriginatorId = value
public int OriginatorId { get; set; }
public:
property int OriginatorId {
    int get ();
    void set (int value);
}
member OriginatorId : int with get, set
function get OriginatorId () : int
function set OriginatorId (value : int)

Property Value

Type: System.Int32
An originator ID.

Examples

For an example of how to map a client ID, see How to: Use Session Variables.

See Also

Reference

SyncContext Class

Microsoft.Synchronization.Data Namespace