Compresses the database by removing states not referenced by a version.
[Visual Basic .NET] Public Sub Compress ( _ )
[C#] public void Compress ( );
[C++] HRESULT Compress( void );
FDO_E_NO_PERMISSION: No permissions to compress.
FDO_E_SE_STATE_TREE_INUSE: Attepting to lock entire state tree, but state locks are present.
Versioned workspace compression is available using the Compress method. Compressing the versioned workspace will remove those database states not referenced by a version.
Only the ArcSDE administrator user can execute the compress method.