Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 2.47 KB

File metadata and controls

42 lines (29 loc) · 2.47 KB
title description author ms.author ms.date ms.service ms.topic ms.custom helpviewer_keywords monikerRange
Installing SMO
Installing SMO
markingmyname
maghan
08/06/2017
sql
reference
intro-installation
installing SMO
SMO [SQL Server], installing
SQL Server Management Objects, installing
=azuresqldb-current||=azure-sqldw-latest||>=sql-server-2016||>=sql-server-linux-2017||=azuresqldb-mi-current

Installing SMO

[!INCLUDE SQL Server ASDB, ASDBMI, ASDW]

This page provides information on how to install SMO for use by applications and the system requirements to use SMO.

SMO NuGet Package

Beginning with [!INCLUDEssNoVersion] 2017 SMO is distributed as the Microsoft.SqlServer.SqlManagementObjects NuGet package to allow users to develop applications with SMO.

This is a replacement for SharedManagementObjects.msi, which was previously released as part of the SQL Feature Pack for each release of SQL Server. Applications that use SMO should be updated to use the NuGet package instead and will be responsible for ensuring the binaries are installed with the application being developed.

[!Important] As mentioned on the Files and Version Numbers page, you should not install the SMO assemblies into the GAC. Doing so could cause issues with other applications which also use those versions of SMO (such as [!INCLUDEssNoVersion] Management Studio).

Installing the Package

See NuGet Quick Start - Use a Package for instructions and examples of installing and using a NuGet package.

System Requirements

SMO requires [!INCLUDEdnprdnshort] 4.0 or .NET Core 2.0 to run, so any applications using it must ensure that client machines have that version or higher installed. Some native binaries installed with the NetFx SMO libraries also require the VC 2013 runtime to be installed; that runtime is not included in the package. You can download the redist appropriate to your target architecture from https://www.microsoft.com/download/details.aspx?id=40784

Programming Guide

The SMO Programming Guide includes additional links to get started with SQL Server Management Objects.