SqlCeRemoteDataAccess.InternetUrl プロパティ
アセンブリ: System.Data.SqlServerCe (system.data.sqlserverce.dll 内)

Dim instance As SqlCeRemoteDataAccess Dim value As String value = instance.InternetUrl instance.InternetUrl = value
/** @property */ public String get_InternetUrl () /** @property */ public void set_InternetUrl (String value)
SQL Server Mobile サーバー エージェントの URL (ファイル名 Sqlcesa30.dll も含む) を格納する文字列。

SqlCeRemoteDataAccess オブジェクトの InternetUrl プロパティを設定する例を次に示します。
' Connection String to the SQL Server ' Dim rdaOleDbConnectString As String = "Data Source=MySqlServer;Initial Catalog=AdventureWorks; " & _ "User Id=username;Password = <password>" ' Initialize RDA Object ' Dim rda As SqlCeRemoteDataAccess = Nothing Try ' Try the Pull Operation ' rda = New SqlCeRemoteDataAccess( _ "http://www.adventure-works.com/sqlmobile/sqlcesa30.dll", _ "MyLogin", _ "<password>", _ "Data Source=MyDatabase.sdf") rda.Pull("Employees", "SELECT * FROM DimEmployee", rdaOleDbConnectString, _ RdaTrackOption.TrackingOnWithIndexes, "ErrorTable") ' or, try one of these overloads: ' rda.Pull("Employees", "SELECT * FROM DimEmployee", rdaOleDbConnectString, _ ' RdaTrackOption.TrackingOnWithIndexes) ' ' rda.Pull("Employees", "SELECT * FROM DimEmployee", rdaOleDbConnectString) Catch ' Handle errors here ' Finally ' Dispose of the RDA object ' rda.Dispose() End Try
// Connection String to the SQL Server // string rdaOleDbConnectString = "Data Source=MySqlServer;Initial Catalog=AdventureWorks; " + "User Id=username;Password = <password>"; // Initialize RDA Object // SqlCeRemoteDataAccess rda = null; try { // Try the Pull Operation // rda = new SqlCeRemoteDataAccess( "http://www.adventure-works.com/sqlmobile/sqlcesa30.dll" , "MyLogin", "<password>", "Data Source=MyDatabase.sdf"); rda.Pull("Employees", "SELECT * FROM DimEmployee", rdaOleDbConnectString , RdaTrackOption.TrackingOnWithIndexes, "ErrorTable"); // or, try one of these overloads: // // rda.Pull("Employees", "SELECT * FROM DimEmployee", rdaOleDbConnectString, // RdaTrackOption.TrackingOnWithIndexes); // // rda.Pull("Employees", "SELECT * FROM DimEmployee", rdaOleDbConnectString); } catch (SqlCeException) { // Handle errors here // } finally { // Dispose of the RDA object // rda.Dispose(); }


Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows XP Professional x64 Edition, Windows XP SP2
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からSqlCeRemoteDataAccess.InternetUrl プロパティを検索する場合は、下記のリンクをクリックしてください。

- SqlCeRemoteDataAccess.InternetUrl プロパティのページへのリンク