Metode Api.JetSetDatabaseSize
Mengatur ukuran file database yang belum dibuka.
Namespace:Microsoft.Isam.Esent.Interop
Majelis: Microsoft.Isam.Esent.Interop (dalam Microsoft.Isam.Esent.Interop.dll)
Sintaks
'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
)
Parameter
sesid
Jenis: Microsoft.Isam.Esent.Interop.JET_SESIDSesi yang akan digunakan.
database
Jenis: System.StringNama database.
desiredPages
Jenis: System.Int32Ukuran database yang diinginkan, di halaman.
actualPages
Jenis: System.Int32Ukuran database, di halaman, setelah panggilan.