Share via


SqlCeConnectionStringBuilder.FileMode 屬性

取得或設定開啟資料庫檔案時使用的模式。

命名空間:  System.Data.SqlServerCe
組件:  System.Data.SqlServerCe (在 System.Data.SqlServerCe.dll 中)

語法

'宣告
<BrowsableAttribute(False)> _
Public Property FileMode As String
    Get
    Set
'用途
Dim instance As SqlCeConnectionStringBuilder
Dim value As String

value = instance.FileMode

instance.FileMode = value
[BrowsableAttribute(false)]
public string FileMode { get; set; }
[BrowsableAttribute(false)]
public:
property String^ FileMode {
    String^ get ();
    void set (String^ value);
}
[<BrowsableAttribute(false)>]
member FileMode : string with get, set
function get FileMode () : String
function set FileMode (value : String)

屬性值

型別:System.String
開啟資料庫檔案時使用的模式值。

請參閱

參考

SqlCeConnectionStringBuilder 類別

System.Data.SqlServerCe 命名空間