SqlCeRemoteDataAccess Constructor (String, String, String, 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.

[SECURITY CRITICAL]

Initializes a new instance of the SqlCeRemoteDataAccess object and configures it for a Basic or Integrated Windows authentication to Microsoft Internet Information Services (IIS).

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

Syntax

'Declaration
Public Sub New ( _
    internetUrl As String, _
    internetLogin As String, _
    internetPassword As String, _
    localConnectionString As String _
)
'Usage
Dim internetUrl As String
Dim internetLogin As String
Dim internetPassword As String
Dim localConnectionString As String

Dim instance As New SqlCeRemoteDataAccess(internetUrl, _
    internetLogin, internetPassword, _
    localConnectionString)
public SqlCeRemoteDataAccess(
    string internetUrl,
    string internetLogin,
    string internetPassword,
    string localConnectionString
)
public:
SqlCeRemoteDataAccess(
    String^ internetUrl, 
    String^ internetLogin, 
    String^ internetPassword, 
    String^ localConnectionString
)
new : 
        internetUrl:string * 
        internetLogin:string * 
        internetPassword:string * 
        localConnectionString:string -> SqlCeRemoteDataAccess
public function SqlCeRemoteDataAccess(
    internetUrl : String, 
    internetLogin : String, 
    internetPassword : String, 
    localConnectionString : String
)

Parameters

  • internetUrl
    Type: System.String
    The URL used to connect to the SQL Server Compact Server Agent.
  • internetLogin
    Type: System.String
    The login name used when connecting to the SQL Server Compact Server Agent.
  • internetPassword
    Type: System.String
    The password used when connecting to the SQL Server Compact Server Agent.
  • localConnectionString
    Type: System.String
    The OLE DB connection string for the SQL Server Compact database.

See Also

Reference

SqlCeRemoteDataAccess Class

SqlCeRemoteDataAccess Overload

System.Data.SqlServerCe Namespace