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


IClass.DeleteIndex Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

IClass.DeleteIndex Method

Deletes an index from this object class.

[Visual Basic .NET]
Public Sub DeleteIndex ( _
    ByVal Index As IIndex _
)
[C#]
public void DeleteIndex (
    IIndex Index
);
[C++]
HRESULT DeleteIndex(
  IIndex* Index
);
[C++]

Parameters Index [in]
Index is a parameter of type IIndex

Product Availability

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

Remarks

Prior to deleting an index from a class, an exclusive schema lock should be obtained using the ISchemaLock interface.

See Also

IClass Interface

.NET Related Topics

Creating indexes | Working with indexes