SqlCeRemoteDataAccess.LocalConnectionString 屬性
此型別具有 SecurityCriticalAttribute 屬性,它會限制為由 .NET Framework for Silverlight 類別程式庫內部使用。使用此型別之任何成員的應用程式碼會擲回 MethodAccessException。
[安全性關鍵]
指定 SQL Server Compact 資料庫的連接字串。
命名空間: System.Data.SqlServerCe
組件: System.Data.SqlServerCe (在 System.Data.SqlServerCe.dll 中)
語法
'宣告
Public Property LocalConnectionString As String
Get
Set
'用途
Dim instance As SqlCeRemoteDataAccess
Dim value As String
value = instance.LocalConnectionString
instance.LocalConnectionString = value
public string LocalConnectionString { get; set; }
public:
property String^ LocalConnectionString {
String^ get ();
void set (String^ value);
}
member LocalConnectionString : string with get, set
function get LocalConnectionString () : String
function set LocalConnectionString (value : String)
屬性值
型別:System.String
SQL Server Compact 資料庫的連接字串。