SQLServer.Database Object
Recalculates the latest space usage information for the database.
Database.RecalcSpaceUsage
HRESULT pDatabase->RecalcSpaceUsage ( );