How to install the package Microsoft.SQLServer.SMO from NuGet

By Where Is My .Net Package

.Net
C#
NuGet
Microsoft.SQLServer.SMO

Here are different methods to install the package. Check the documentation for the latest version.

# Package Manager
Install-Package Microsoft.SQLServer.SMO -Version 12.0.2000.8

# .NET CLI
dotnet add package Microsoft.SQLServer.SMO --version 12.0.2000.8

# PackageReference
<PackageReference Include="Microsoft.SQLServer.SMO" Version="12.0.2000.8" />

# Paket CLI
paket add Microsoft.SQLServer.SMO --version 12.0.2000.8