SqlCeConnectionStringBuilder.AutoshrinkThreshold 屬性
取得或設定在開始自動壓縮之前,資料庫檔案中允許的可用空間百分比。
命名空間: System.Data.SqlServerCe
組件: System.Data.SqlServerCe (在 System.Data.SqlServerCe.dll 中)
語法
'宣告
Public Property AutoshrinkThreshold As Integer
Get
Set
'用途
Dim instance As SqlCeConnectionStringBuilder
Dim value As Integer
value = instance.AutoshrinkThreshold
instance.AutoshrinkThreshold = value
public int AutoshrinkThreshold { get; set; }
public:
property int AutoshrinkThreshold {
int get ();
void set (int value);
}
member AutoshrinkThreshold : int with get, set
function get AutoshrinkThreshold () : int
function set AutoshrinkThreshold (value : int)
屬性值
型別:System.Int32
值 100 會停用自動壓縮。如果未指定,則預設值為 60。