SQL Server Management Objects (SMO) are the .NET classes underpinning Management Studio and all good PowerShell that interfaces with SQL Server.
It also exposes your SQL Server Authentication passwords in plain-text and doesn't support basic ADO.NET connection security introduced in 2005, or even better and more desirable security introduced in 2012.