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


ILocalDatabaseCompact.Compact Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

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