Share via


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
'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);
}
/** @property */
public int get_OriginatorId ()

/** @property */
public void set_OriginatorId (int value)
public function get OriginatorId () : int

public function set OriginatorId (value : int)

Property Value

An originator ID.

Example

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

See Also

Reference

SyncContext Class
SyncContext Members
Microsoft.Synchronization.Data Namespace