SqlCeRemoteDataAccess.Push Method (String, String, RdaBatchOption)

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.

[SECURITY CRITICAL]

Transmits changes from a pulled tracked table in SQL Server Compact back to the SQL Server table. These changes can be either individually applied to the server or batched together in a single transaction.

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

Syntax

'Declaration
Public Sub Push ( _
    localTableName As String, _
    oleDBConnectionString As String, _
    batchOption As RdaBatchOption _
)
'Usage
Dim instance As SqlCeRemoteDataAccess
Dim localTableName As String
Dim oleDBConnectionString As String
Dim batchOption As RdaBatchOption

instance.Push(localTableName, oleDBConnectionString, _
    batchOption)
public void Push(
    string localTableName,
    string oleDBConnectionString,
    RdaBatchOption batchOption
)
public:
void Push(
    String^ localTableName, 
    String^ oleDBConnectionString, 
    RdaBatchOption batchOption
)
member Push : 
        localTableName:string * 
        oleDBConnectionString:string * 
        batchOption:RdaBatchOption -> unit 
public function Push(
    localTableName : String, 
    oleDBConnectionString : String, 
    batchOption : RdaBatchOption
)

Parameters

  • localTableName
    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.
  • batchOption
    Type: System.Data.SqlServerCe.RdaBatchOption
    The option indicates whether the changes being sent back to the SQL Server table should be batched together in a single transaction or individually applied.

See Also

Reference

SqlCeRemoteDataAccess Class

Push Overload

System.Data.SqlServerCe Namespace