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


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

ILocalDatabaseCompact.Compact Method

Compacts the database.

[Visual Basic .NET]
Public Sub Compact ( _
    ByVal Name As IWorkspaceName _
)
[C#]
public void Compact (
    IWorkspaceName Name
);
[C++]
HRESULT Compact(
  IWorkspaceName* Name
);
[C++]
Parameters
Name [in]

Name is a parameter of type IWorkspaceName*

Product Availability

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

See Also

ILocalDatabaseCompact Interface