Share via


DbSyncSession Class

Represents a synchronization session. The DbSyncSession object exists for the duration of the synchronization session.

Namespace: Microsoft.Synchronization.Data
Assembly: Microsoft.Synchronization.Data (in microsoft.synchronization.data.dll)

Syntax

'Declaration
<SerializableAttribute> _
<SuppressMessageAttribute("Microsoft.Naming", "CA1706:ShortAcronymsShouldBeUppercase")> _
Public Class DbSyncSession
'Usage
Dim instance As DbSyncSession
[SerializableAttribute] 
[SuppressMessageAttribute("Microsoft.Naming", "CA1706:ShortAcronymsShouldBeUppercase")] 
public class DbSyncSession
[SerializableAttribute] 
[SuppressMessageAttribute(L"Microsoft.Naming", L"CA1706:ShortAcronymsShouldBeUppercase")] 
public ref class DbSyncSession
/** @attribute SerializableAttribute() */ 
/** @attribute SuppressMessageAttribute("Microsoft.Naming", "CA1706:ShortAcronymsShouldBeUppercase") */ 
public class DbSyncSession
SerializableAttribute 
SuppressMessageAttribute("Microsoft.Naming", "CA1706:ShortAcronymsShouldBeUppercase") 
public class DbSyncSession

Remarks

The DbSyncSession object is sent to the peer in every call and provides a way to transfer built-in session variables. For more information about session variables, see How to: Use Session Variables for Collaborative Synchronization (Non-SQL Server).

Inheritance Hierarchy

System.Object
  Microsoft.Synchronization.Data.DbSyncSession

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.

See Also

Reference

DbSyncSession Members
Microsoft.Synchronization.Data Namespace