Shrinks the size of a Geodatabase and frees up unused space.
[Visual Basic .NET] Public Sub ShrinkGeodatabase ( _ ByVal gdbName As String _ )
[C#] public void ShrinkGeodatabase ( string gdbName );
[C++]
HRESULT ShrinkGeodatabase(
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 frees up unused space in the Geodatabase data file (.mdf).
Remarks
Perform this periodically as a regular maintenance operation. You must be a server administrator to execute this method.