Microsoft.SqlServer.SqlManagementObjects
160.2001141.0-preview
Prefix Reserved
See the version list below for details.
Requires NuGet 2.12 or higher.
dotnet add package Microsoft.SqlServer.SqlManagementObjects --version 160.2001141.0-preview
NuGet\Install-Package Microsoft.SqlServer.SqlManagementObjects -Version 160.2001141.0-preview
<PackageReference Include="Microsoft.SqlServer.SqlManagementObjects" Version="160.2001141.0-preview" />
<PackageVersion Include="Microsoft.SqlServer.SqlManagementObjects" Version="160.2001141.0-preview" />
<PackageReference Include="Microsoft.SqlServer.SqlManagementObjects" />
paket add Microsoft.SqlServer.SqlManagementObjects --version 160.2001141.0-preview
#r "nuget: Microsoft.SqlServer.SqlManagementObjects, 160.2001141.0-preview"
#addin nuget:?package=Microsoft.SqlServer.SqlManagementObjects&version=160.2001141.0-preview&prerelease
#tool nuget:?package=Microsoft.SqlServer.SqlManagementObjects&version=160.2001141.0-preview&prerelease
Introduction
This file will log substantial changes made to SMO between public releases to nuget.org.
160.1911221.0-preview
- Increase major version from 15 to 16
- Remove dependency on native batch parser from NetFx components
- Change NetStandard client driver to Microsoft.Data.SqlClient
- Add distribution property for DW materialized views
- Script FILLFACTOR for indexes on Azure SQL Database
160.201141.0-preview
Remove unneeded "using" TSQL statements from Database.CheckTables method implementations
Enable ColumnMasterKey properties Signature and AllowEnclaveComputations for Azure SQL DB
Fix Database.EncryptionEnabled and Database.DatabaseEncryptionKey behavior during Database.Alter(). Now, this code will correctly create a new key using the server certificate named MyCertificate:
db.EncryptionEnabled = true; db.DatabaseEncryptionKey.EncryptorName = "MyCertificate"; db.DatabaseEncryptionKey.EncryptionAlgorithm = DatabaseEncryptionAlgorithm.Aes256; db.DatabaseEncryptionKey.EncryptionType = DatabaseEncryptionType.ServerCertificate; db.Alter()
Fixed the "like" and "contains" URN filter functions to work with parameters containing single quotes. These operators can be used to optimally initialize collections:
// populate the collection with databases that have Name starting with "RDA" var server = Server(new ServerConnection(sqlConnection)); server.Databases.ClearAndInitialize("[like(@Name, 'RDA%')]", new string[] { });
Make Table.Location property optional for creating or scripting external tables.
Enable scripting of ANSI_PADDING settings for Azure SQL Database tables.
Remove obsolete types ServerActiveDirectory and DatabaseActiveDirectory
Added BLOB_STORAGE scripting support for external data sources
Fixed error scripting external tables for Azure SQL Database
Replace Microsoft.SqlServer.Management.SqlParser.dll with a dependency to its Nuget package
160.2001141.0
- First non-preview 160 release, aligned with SQL Server Management Studio 18.5
- Script extended properties for Azure SQL Database objects
- Enable Jupyter Notebook output for SqlScriptPublishModel. SSMS 18.5 can output a Notebook for Azure Data Studio in Generate Scripts now.
- Fix issue where Table.EnableAllIndexes(Recreate) did nothing
- Fix Database.EnumObjectPermissions usage in NetStandard binaries
- Remove FORCE ORDER hint from table enumeration that was causing major performance issues
- Fix Transfer with PrefetchAllObjects == false for pre-Sql 2014 versions so it doesn't throw an exception
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.6.2
- Microsoft.SqlServer.Management.SqlParser (>= 150.35031.0)
-
.NETStandard 2.0
- Microsoft.Data.SqlClient (>= 1.1.0)
- Microsoft.SqlServer.Management.SqlParser (>= 150.35031.0)
NuGet packages (100)
Showing the top 5 NuGet packages that depend on Microsoft.SqlServer.SqlManagementObjects:
Package | Downloads |
---|---|
Catalyst.DataProcessing.Engine.SqlServer
Package for developing DOS engine plugins based on the SQL Server system support |
|
Naos.Deployment.Core
Created on 2025-02-19 20:08 |
|
Naos.Deployment.Console
Created on 2025-02-19 20:08 |
|
dbup-sqlserver-scripting
Extends DbUp to provide SQL Server object definition scripting when running migrations from Visual Studio. When a database object changes during a migration, its definition will be saved in the project. |
|
Naos.Database.MessageBus.Handler
Created on 2025-02-19 20:08 |
GitHub repositories (11)
Showing the top 11 popular GitHub repositories that depend on Microsoft.SqlServer.SqlManagementObjects:
Repository | Stars |
---|---|
microsoft/WhatTheHack
A collection of challenge based hack-a-thons including student guide, coach guide, lecture presentations, sample/instructional code and templates. Please visit the What The Hack website at: https://aka.ms/wth
|
|
dotnet/SqlClient
Microsoft.Data.SqlClient provides database connectivity to SQL Server for .NET applications.
|
|
MoonStorm/FastCrud
fast .NET ORM for strongly typed people
|
|
microsoft/sqltoolsservice
SQL Tools API service that provides SQL Server data management capabilities.
|
|
rr-wfm/MSBuild.Sdk.SqlProj
An MSBuild SDK that provides similar functionality to SQL Server Data Tools (.sqlproj) projects
|
|
trimble-oss/dba-dash
DBA Dash - SQL Server Monitoring Tool
|
|
spaghettidba/WorkloadTools
A collection of tools to collect, analyze and replay SQL Server workloads, on premises and in the cloud
|
|
dotnet/docs-desktop
This repository contains .NET documentation related to Windows Forms (winforms) and Windows Presentation Foundation (WPF).
|
|
microsoft/sqlmanagementobjects
Sql Management Objects, an API for scripting and managing SQL Server and Azure SQL Database
|
|
microsoft/SQLServerSpatialTools
This project is a collection of tools for use with the spatial types in SQL Server. This project does not provide an end-user application, but rather a set of reusable functions which applications can make use of. These functions may include data conversion routines, new transformations, aggregates, etc. Please feel free to suggest additional functionality. This project is sponsored by Microsoft, but we welcome outside developers.
|
|
dradovic/MigSharp
Mig# (MigSharp) is a .NET framework for database migrations and versioning
|
Version | Downloads | Last updated |
---|---|---|
172.64.0 | 58,242 | 3/9/2025 |
172.61.0 | 97,542 | 2/5/2025 |
172.61.0-preview | 5,819 | 1/17/2025 |
172.52.0 | 301,101 | 11/19/2024 |
171.30.0 | 4,826,698 | 3/21/2024 |
170.23.0 | 682,441 | 1/10/2024 |
170.21.0 | 189,314 | 9/29/2023 |
170.18.0 | 1,275,570 | 5/31/2023 |
170.13.0 | 834,668 | 2/1/2023 |
170.12.0 | 54,234 | 1/27/2023 |
170.11.0 | 283,481 | 1/5/2023 |
170.8.0 | 585,371 | 10/17/2022 |
170.7.0-preview | 35,538 | 8/18/2022 |
170.5.0-preview | 20,050 | 8/17/2022 |
161.48050.0 | 67,367 | 11/28/2023 |
161.48044.0 | 8,903 | 5/31/2023 |
161.48036.0 | 37,625 | 1/30/2023 |
161.48028.0 | 6,819 | 12/21/2022 |
161.47027.0 | 484,506 | 8/11/2022 |
161.47023.0-preview | 2,450 | 6/15/2022 |
161.47021.0 | 491,973 | 5/25/2022 |
161.47008.0 | 589,837 | 3/7/2022 |
161.46521.71 | 1,126,834 | 10/6/2021 |
161.46437.65 | 645,934 | 7/28/2021 |
161.46367.54 | 634,632 | 4/22/2021 |
161.46041.41 | 2,460,058 | 1/2/2021 |
161.44091.28 | 531,981 | 10/20/2020 |
161.42121.15-msdata | 25,783 | 8/17/2020 |
161.41981.14-msdata | 2,003 | 8/3/2020 |
161.41011.9 | 598,162 | 7/22/2020 |
161.40241.8-msdata | 18,738 | 6/29/2020 |
160.2004021.0 | 1,009,707 | 4/7/2020 |
160.2001141.0-preview | 4,726 | 1/15/2020 |
160.1911221.0-preview | 77,332 | 11/23/2019 |
150.18208.0 | 1,339,040 | 11/6/2019 |
150.18208.0-preview | 1,710 | 11/6/2019 |
150.18178.0 | 273,398 | 9/27/2019 |
150.18178.0-preview | 1,679 | 9/27/2019 |
150.18149.0-preview | 5,704 | 8/14/2019 |
150.18147.0 | 444,540 | 7/30/2019 |
150.18147.0-preview | 1,675 | 7/30/2019 |
150.18131.0 | 231,636 | 6/14/2019 |
150.18131.0-preview | 1,815 | 6/13/2019 |
150.18118.0 | 349,788 | 4/24/2019 |
150.18118.0-preview | 1,754 | 4/24/2019 |
150.18097.0-preview | 30,200 | 3/22/2019 |
150.18096.0-preview | 2,634 | 3/8/2019 |
150.18092.0-preview | 1,852 | 3/4/2019 |
150.18085.0-preview | 2,805 | 2/15/2019 |
150.18068.0-preview | 5,217 | 11/16/2018 |
150.18040.0-preview | 4,194 | 9/24/2018 |
150.18022.0-preview | 2,866 | 8/22/2018 |
140.17283.0 | 1,760,953 | 8/15/2018 |
140.17283.0-preview | 2,182 | 8/15/2018 |
140.17282.0-preview | 2,189 | 8/7/2018 |
140.17279.0 | 232,450 | 7/9/2018 |
140.17267.0-preview | 5,418 | 5/21/2018 |
140.17265.0 | 137,826 | 5/15/2018 |
140.17235.0 | 104,838 | 3/29/2018 |
140.17224.0 | 322,300 | 2/22/2018 |
140.17218.0 | 170,045 | 1/4/2018 |
140.17199.0 | 395,455 | 10/6/2017 |
140.17177.0 | 151,735 | 8/7/2017 |
See https://docs.microsoft.com/sql/ssms/sql-server-management-studio-changelog-ssms for combined release notes of SMO and SSMS.