SqlCeConnectionStringBuilder.AutoshrinkThreshold Property
Gets or sets the percent of free space in the database file that is allowed before autoshrink begins.
Namespace: System.Data.SqlServerCe
Assembly: System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)
Syntax
'Declaration
Public Property AutoshrinkThreshold As Integer
Get
Set
'Usage
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)
Property Value
Type: System.Int32
A value of 100 disables autoshrink. If not specified, the default value is 60.