SqlCeRemoteDataAccess Constructor (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 anonymous access 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, _
localConnectionString As String _
)
'Usage
Dim internetUrl As String
Dim localConnectionString As String
Dim instance As New SqlCeRemoteDataAccess(internetUrl, _
localConnectionString)
public SqlCeRemoteDataAccess(
string internetUrl,
string localConnectionString
)
public:
SqlCeRemoteDataAccess(
String^ internetUrl,
String^ localConnectionString
)
new :
internetUrl:string *
localConnectionString:string -> SqlCeRemoteDataAccess
public function SqlCeRemoteDataAccess(
internetUrl : String,
localConnectionString : String
)
Parameters
- internetUrl
Type: System.String
The URL used to connect to the SQL Server Compact Server Agent.
- localConnectionString
Type: System.String
The OLE DB connection string for the SQL Server Compact database.