DataSetSurrogate Class

Represents a surrogate of a DataSet object, which Sync Framework uses during custom binary serialization.

System.Object
  Microsoft.Synchronization.Data.DataSetSurrogate

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

'Declaration
<SerializableAttribute> _
Public Class DataSetSurrogate _
	Implements IDisposable
'Usage
Dim instance As DataSetSurrogate

The DataSetSurrogate type exposes the following members.

  NameDescription
Public methodDataSetSurrogateInitializes a new instance of the DataSetSurrogate class.
Top

  NameDescription
Public propertyDatasetNameGets or sets the name of the data set that the DataSetSurrogate object represents.
Public propertyLocaleGets or sets the locale information used to compare strings within the table.
Top

  NameDescription
Public methodConvertToDataSetConstructs a DataSet object based on a DataSetSurrogate object.
Public methodDisposeReleases all resources used by the DataSetSurrogate.
Protected methodDispose(Boolean)Releases the unmanaged resources used by the DataSetSurrogate and optionally releases the managed resources.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetDataTableSurrogatesGets an array of DataTableSurrogate objects that comprise the data set that is represented by the DataSetSurrogate object.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

This surrogate does not retain all of the properties of the object on which it is based. The only properties it retains are those that are publicly exposed.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: