Share via


DbSyncBatchInfo.DataSetSurrogate Property

Gets or sets a DataSetSurrogate object, which contains the in-memory data set that represents the batch.

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

Syntax

'Declaration
Public Property DataSetSurrogate As DataSetSurrogate
    Get
    Set
'Usage
Dim instance As DbSyncBatchInfo
Dim value As DataSetSurrogate

value = instance.DataSetSurrogate

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

Property Value

Type: Microsoft.Synchronization.Data.DataSetSurrogate
A DataSetSurrogate object that represents the batch.

Exceptions

Exception Condition
ArgumentNullException

value is a null reference (Nothing in Visual Basic).

Remarks

This property has the [NonSerialized] attribute defined on it. Serializing the DbSyncBatchInfo object does not serialize the data set that is exposed by this property. It must be serialized separately.

See Also

Reference

DbSyncBatchInfo Class

Microsoft.Synchronization.Data Namespace