Upon upgrading to the newer Content Manager build version (Content Manager 23.x onward), user finds that the Database.ConnectAs() function is deprecated and can no longer be used.
Environment
Content Manager 23.x, 24.x, 25.x.
Situation
When running code using TRIM SDK, the user found that the Database.ConnectAs()function is deprecated and can no longer be used.