SqlCeRemoteDataAccess Class
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]
Initializes a new instance of the SqlCeRemoteDataAccess object. For more information about Remote Data Access, see Using Remote Data Access (RDA).
Inheritance Hierarchy
System.Object
System.Data.SqlServerCe.SqlCeRemoteDataAccess
Namespace: System.Data.SqlServerCe
Assembly: System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)
Syntax
'Declaration
<SecurityCriticalAttribute(SecurityCriticalScope.Everything)> _
<PermissionSetAttribute(SecurityAction.Demand, Name := "FullTrust")> _
Public NotInheritable Class SqlCeRemoteDataAccess _
Implements IDisposable
'Usage
Dim instance As SqlCeRemoteDataAccess
[SecurityCriticalAttribute(SecurityCriticalScope.Everything)]
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public sealed class SqlCeRemoteDataAccess : IDisposable
[SecurityCriticalAttribute(SecurityCriticalScope::Everything)]
[PermissionSetAttribute(SecurityAction::Demand, Name = L"FullTrust")]
public ref class SqlCeRemoteDataAccess sealed : IDisposable
[<SealedAttribute>]
[<SecurityCriticalAttribute(SecurityCriticalScope.Everything)>]
[<PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")>]
type SqlCeRemoteDataAccess =
class
interface IDisposable
end
public final class SqlCeRemoteDataAccess implements IDisposable
The SqlCeRemoteDataAccess type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SqlCeRemoteDataAccess() | Initializes a new instance of the SqlCeRemoteDataAccess object. | |
SqlCeRemoteDataAccess(String, String) | Initializes a new instance of the SqlCeRemoteDataAccess object and configures it for anonymous access to Microsoft Internet Information Services (IIS). | |
SqlCeRemoteDataAccess(String, String, String, String) | Initializes a new instance of the SqlCeRemoteDataAccess object and configures it for a Basic or Integrated Windows authentication to Microsoft Internet Information Services (IIS). |
Top
Properties
Name | Description | |
---|---|---|
CompressionLevel | Specifies the amount of compression that will be used by the compression routines during Push and Pull operations. | |
ConnectionManager | Enables the SqlCeRemoteDataAccess object to use the smart device's Connection Manager API to establish a network connection. The connection is released at the end of synchronization. | |
ConnectionRetryTimeout | Specifies how long (in seconds) the SQL Server Compact client will continue to retry sending failed requests. | |
ConnectTimeout | Gets or sets the amount of time, in milliseconds, that the SqlCeRemoteDataAccess object waits for a connection to the server. | |
InternetLogin | Specifies the Microsoft Internet Information Services (IIS) login name used when connecting to the SQL Server Compact Server Agent. | |
InternetPassword | Specifies the Microsoft Internet Information Services (IIS) password used when connecting to the SQL Server Compact Server Agent. | |
InternetProxyLogin | Specifies the login name used when connecting to a proxy server (defined in the InternetProxyServer property) that requires authentication. | |
InternetProxyPassword | Specifies the password used when connecting to a proxy server (defined in the InternetProxyServer property) that requires authentication. | |
InternetProxyServer | Specifies the proxy server to use when accessing the HTTP resource specified in the InternetUrl property. | |
InternetUrl | Specifies the URL used to connect to the SQL Server Compact Server Agent. The SQL Server Compact Server Agent is the Microsoft Internet Information Services (IIS) ISAPI DLL that connects the SQL Server Compact client to the Microsoft SQL Server Database. This property must be specified. | |
LocalConnectionString | Specifies the connection string for the SQL Server Compact database. | |
ReceiveTimeout | Gets or sets the amount of time, in milliseconds, that the SqlCeRemoteDataAccess object waits for the response to a server request. | |
SendTimeout | Gets or sets the amount of time, in milliseconds, that the SqlCeRemoteDataAccess object waits to send a request to the server. |
Top
Methods
Name | Description | |
---|---|---|
Dispose | Releases all unmanaged resources. | |
Equals | (inherited from Object) | |
Finalize | (inherited from Object) | |
GetHashCode | (inherited from Object) | |
GetType | (inherited from Object) | |
MemberwiseClone | (inherited from Object) | |
Pull(String, String, String) | Downloads data from a remote SQL Server database and stores that data in a single table in a local SQL Server Compact database. | |
Pull(String, String, String, RdaTrackOption) | Downloads data from a remote SQL Server database and stores that data in a single table in a local SQL Server Compact database. | |
Pull(String, String, String, RdaTrackOption, String) | Downloads data from a remote SQL Server database and stores that data in a single table in a local SQL Server Compact database. | |
Push(String, String) | Transmits changes from a pulled tracked table in SQL Server Compact back to the originating SQL Server table. These changes are individually applied to the server in separate transactions. | |
Push(String, String, RdaBatchOption) | 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. | |
SubmitSql | Submits SQL statements for execution on a database in SQL Server on a remote server. | |
ToString | (inherited from Object) |
Top
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.