//----------------------------------------------------------------------- // // Copyright (c) Microsoft Corporation. // //----------------------------------------------------------------------- namespace Microsoft.Isam.Esent.Interop { using Microsoft.Isam.Esent.Interop.Windows81; /// /// This class provides static properties to set and get /// per-instance ESENT system parameters. /// public partial class InstanceParameters { /// /// Gets or sets whether to free space back to the OS after deleting data. This may free space /// in the middle of files (done in the units of database extents). This uses Sparse Files, /// which is available on NTFS and ReFS (not FAT). The exact method of releasing space is an /// implementation detail and is subject to change. /// public ShrinkDatabaseGrbit EnableShrinkDatabase { get { return (ShrinkDatabaseGrbit)this.GetIntegerParameter(Windows81Param.EnableShrinkDatabase); } set { this.SetIntegerParameter(Windows81Param.EnableShrinkDatabase, (int)value); } } } }