This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > DataSourcesGDB > ESRI.ArcGIS.DataSourcesGDB > Interfaces > ID > IDataServerManagerAdmin Interface > IDataServerManagerAdmin.RebuildIndices Method (ArcObjects .NET 10.4 SDK) |
Rebuilds the indices on all tables in a Geodatabase.
[Visual Basic .NET] Public Sub RebuildIndices ( _ ByVal gdbName As String _ )
[C#] public void RebuildIndices ( string gdbName );
[C++]
HRESULT RebuildIndices(
BSTR gdbName
);
[C++]
Parameters gdbName [in] gdbName is a parameter of type BSTR
This method rebuilds all the indexes on all existing user tables within a Geodatabase. You must either be a server administrator or a geodatabase administrator to use this method.
Perform this periodically as a regular maintenance operation.