DbSyncSession.SyncParameters Property
Gets or sets a SyncParameterCollection of SyncParameter objects. These objects are available at the peer as session variables.
Namespace: Microsoft.Synchronization.Data
Assembly: Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)
Syntax
'Declaration
Public Property SyncParameters As SyncParameterCollection
Get
Set
'Usage
Dim instance As DbSyncSession
Dim value As SyncParameterCollection
value = instance.SyncParameters
instance.SyncParameters = value
public SyncParameterCollection SyncParameters { get; set; }
public:
property SyncParameterCollection^ SyncParameters {
SyncParameterCollection^ get ();
void set (SyncParameterCollection^ value);
}
member SyncParameters : SyncParameterCollection with get, set
function get SyncParameters () : SyncParameterCollection
function set SyncParameters (value : SyncParameterCollection)
Property Value
Type: Microsoft.Synchronization.Data.SyncParameterCollection
A SyncParameterCollection of SyncParameter objects.
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).