Microsoft.SqlServer.SqlManagementObjects 160.2001141.0-preview

Prefix Reserved
This is a prerelease version of Microsoft.SqlServer.SqlManagementObjects.
There is a newer version of this package available.
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                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Microsoft.SqlServer.SqlManagementObjects" Version="160.2001141.0-preview" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.SqlServer.SqlManagementObjects --version 160.2001141.0-preview                
#r "nuget: Microsoft.SqlServer.SqlManagementObjects, 160.2001141.0-preview"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Microsoft.SqlServer.SqlManagementObjects as a Cake Addin
#addin nuget:?package=Microsoft.SqlServer.SqlManagementObjects&version=160.2001141.0-preview&prerelease

// Install Microsoft.SqlServer.SqlManagementObjects as a Cake Tool
#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 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. 
.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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (103)

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 2023-05-05 19:43

Naos.Deployment.Console

Created on 2023-05-05 19:43

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 2023-05-05 19:43

GitHub repositories (10)

Showing the top 5 popular GitHub repositories that depend on Microsoft.SqlServer.SqlManagementObjects:

Repository Stars
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
Version Downloads Last updated
171.30.0 2,335,605 3/21/2024
170.23.0 533,736 1/10/2024
170.21.0 159,105 9/29/2023
170.18.0 910,249 5/31/2023
170.13.0 753,446 2/1/2023
170.12.0 51,194 1/27/2023
170.11.0 239,257 1/5/2023
170.8.0 540,053 10/17/2022
170.7.0-preview 34,890 8/18/2022
170.5.0-preview 20,004 8/17/2022
161.48050.0 31,550 11/28/2023
161.48044.0 6,350 5/31/2023
161.48036.0 32,618 1/30/2023
161.48028.0 5,777 12/21/2022
161.47027.0 446,537 8/11/2022
161.47023.0-preview 2,383 6/15/2022
161.47021.0 448,026 5/25/2022
161.47008.0 556,447 3/7/2022
161.46521.71 1,034,165 10/6/2021
161.46437.65 586,801 7/28/2021
161.46367.54 584,070 4/22/2021
161.46041.41 2,389,713 1/2/2021
161.44091.28 505,475 10/20/2020
161.42121.15-msdata 21,349 8/17/2020
161.41981.14-msdata 1,965 8/3/2020
161.41011.9 569,314 7/22/2020
161.40241.8-msdata 17,636 6/29/2020
160.2004021.0 953,581 4/7/2020
160.2001141.0-preview 4,573 1/15/2020
160.1911221.0-preview 74,223 11/23/2019
150.18208.0 1,264,832 11/6/2019
150.18208.0-preview 1,657 11/6/2019
150.18178.0 262,802 9/27/2019
150.18178.0-preview 1,627 9/27/2019
150.18149.0-preview 5,265 8/14/2019
150.18147.0 410,543 7/30/2019
150.18147.0-preview 1,621 7/30/2019
150.18131.0 221,303 6/14/2019
150.18131.0-preview 1,768 6/13/2019
150.18118.0 337,580 4/24/2019
150.18118.0-preview 1,699 4/24/2019
150.18097.0-preview 30,119 3/22/2019
150.18096.0-preview 2,418 3/8/2019
150.18092.0-preview 1,800 3/4/2019
150.18085.0-preview 2,749 2/15/2019
150.18068.0-preview 4,835 11/16/2018
150.18040.0-preview 4,053 9/24/2018
150.18022.0-preview 2,684 8/22/2018
140.17283.0 1,665,483 8/15/2018
140.17283.0-preview 2,092 8/15/2018
140.17282.0-preview 2,087 8/7/2018
140.17279.0 222,903 7/9/2018
140.17267.0-preview 5,276 5/21/2018
140.17265.0 132,722 5/15/2018
140.17235.0 102,905 3/29/2018
140.17224.0 307,211 2/22/2018
140.17218.0 166,909 1/4/2018
140.17199.0 376,860 10/6/2017
140.17177.0 140,844 8/7/2017