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

IDatabaseCompact.Compact Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > ID > IDatabaseCompact Interface > IDatabaseCompact.Compact Method
ArcGIS Developer Help

IDatabaseCompact.Compact Method

Compacts the database.

[Visual Basic .NET]
Public Sub Compact ( _
public void Compact (
HRESULT Compact(

Product Availability

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

See Also

IDatabaseCompact Interface