This document is archived and information here might be outdated. Recommended version. |
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
This method frees up unused space in the Geodatabase data file (.mdf).
Perform this periodically as a regular maintenance operation. You must be a server administrator to execute this method.