Api.JetSetDatabaseSize method
Sets the size of an unopened database file.
Namespace: Microsoft.Isam.Esent.Interop
Assembly: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)
Syntax
'Declaration
Public Shared Sub JetSetDatabaseSize ( _
sesid As JET_SESID, _
database As String, _
desiredPages As Integer, _
<OutAttribute> ByRef actualPages As Integer _
)
'Usage
Dim sesid As JET_SESID
Dim database As String
Dim desiredPages As Integer
Dim actualPages As IntegerApi.JetSetDatabaseSize(sesid, database, _
desiredPages, actualPages)
public static void JetSetDatabaseSize(
JET_SESID sesid,
string database,
int desiredPages,
out int actualPages
)
Parameters
sesid
Type: Microsoft.Isam.Esent.Interop.JET_SESIDThe session to use.
database
Type: System.StringThe name of the database.
desiredPages
Type: System.Int32The desired size of the database, in pages.
actualPages
Type: System.Int32The size of the database, in pages, after the call.
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