Share via


Api.JetComputeStats 方法

逐步解說資料表的每個索引,以精確計算索引中的專案數目,以及索引中的相異索引鍵數目。 這項資訊連同為索引配置的資料庫分頁數目,以及計算的目前時間會儲存在資料庫中的索引中繼資料中。 後續可以使用資訊作業擷取此資料。

Namespace:Microsoft.Isam.Esent.Interop
裝配: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)

語法

'Declaration
Public Shared Sub JetComputeStats ( _
    sesid As JET_SESID, _
    tableid As JET_TABLEID _
)
'Usage
Dim sesid As JET_SESID
Dim tableid As JET_TABLEIDApi.JetComputeStats(sesid, tableid)
public static void JetComputeStats(
    JET_SESID sesid,
    JET_TABLEID tableid
)

參數

另請參閱

參考

Api 類別

Api 成員

Microsoft.Isam.Esent.Interop 命名空間