SqlCeEngine.LocalConnectionString 屬性
取得或設定 SQL Server Compact 資料庫的連接字串。
命名空間: System.Data.SqlServerCe
組件: System.Data.SqlServerCe (在 System.Data.SqlServerCe.dll 中)
語法
'宣告
Public Property LocalConnectionString As String
Get
Set
'用途
Dim instance As SqlCeEngine
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
連接字串。
備註
這個屬性支援所有 ConnectionString 屬性。