Windows8Api.JetResizeDatabase method
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for