Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.