Edit

Share via


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

  • desiredPages
    Type: System.Int32

    The desired size of the database, in pages.

  • actualPages
    Type: System.Int32

    The size of the database, in pages, after the call.

See also

Reference

Api class

Api members

Microsoft.Isam.Esent.Interop namespace