SqlCeRemoteDataAccess.Pull Method (String, String, String, RdaTrackOption, String)

This type has a SecurityCriticalAttribute attribute, which restricts it to internal use by the .NET Framework for Silverlight class library. Application code that uses any member of this type throws a MethodAccessException.

Downloads data from a remote SQL Server database and stores that data in a single table in a local SQL Server Compact database.

Namespace:  System.Data.SqlServerCe
Assembly:  System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)

public void Pull(
	string localTableName,
	string sqlSelectString,
	string oleDBConnectionString,
	RdaTrackOption trackOption,
	string errorTable


Type: System.String
The name of the SQL Server Compact table that will receive the extracted SQL Server records. An error occurs if the table already exists.
Type: System.String
Any valid Transact-SQL statement—including SELECT statements and stored procedures—that specifies which table, columns, and records to extract from the SQL Server database for storing in the SQL Server Compact database.
Type: System.String
Type: System.Data.SqlServerCe.RdaTrackOption
The option indicating whether SQL Server Compact tracks changes made to the pulled table, and whether the indexes that exist on the table being pulled are brought down to the device with the PRIMARY KEY constraints.
Type: System.String
The name of the local error table that is created if an error occurs when the Push method is later called to send changes back to SQL Server. This option can be specified only when the RdaTrackOption value is TrackingOn or TrackingOnWithIndexes.