This document is archived and information here might be outdated.  Recommended version.


IDataServerManagerAdmin.RebuildIndices Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesGDB > ESRI.ArcGIS.DataSourcesGDB > Interfaces > ID > IDataServerManagerAdmin Interface > IDataServerManagerAdmin.RebuildIndices Method
ArcGIS Developer Help

IDataServerManagerAdmin.RebuildIndices Method

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

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.

Remarks

Perform this periodically as a regular maintenance operation.

See Also

IDataServerManagerAdmin Interface