Resizes a currently open database.
Namespace: Microsoft.Isam.Esent.Interop.Windows8
Assembly: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)
Syntax
'Declaration
Public Shared Sub JetResizeDatabase ( _
sesid As JET_SESID, _
dbid As JET_DBID, _
desiredPages As Integer, _
<OutAttribute> ByRef actualPages As Integer, _
grbit As ResizeDatabaseGrbit _
)
'Usage
Dim sesid As JET_SESID
Dim dbid As JET_DBID
Dim desiredPages As Integer
Dim actualPages As Integer
Dim grbit As ResizeDatabaseGrbitWindows8Api.JetResizeDatabase(sesid, dbid, _
desiredPages, actualPages, grbit)
public static void JetResizeDatabase(
JET_SESID sesid,
JET_DBID dbid,
int desiredPages,
out int actualPages,
ResizeDatabaseGrbit grbit
)
Parameters
-
sesid
Type: Microsoft.Isam.Esent.Interop.JET_SESIDThe session to use.
-
dbid
Type: Microsoft.Isam.Esent.Interop.JET_DBIDThe database to grow.
-
desiredPages
Type: System.Int32The desired size of the database, in pages.
-
actualPages
Type: System.Int32The size of the database, in pages, after the call.
-
grbit
Type: Microsoft.Isam.Esent.Interop.Windows8.ResizeDatabaseGrbitResize options.
See also
Reference
Microsoft.Isam.Esent.Interop.Windows8 namespace
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
