Skip to content

Commit ccef26f

Browse files
Merge pull request #36649 from MicrosoftDocs/main
Auto Publish – main to live - 2026-02-18 23:30 UTC
2 parents 1633168 + 9629e4c commit ccef26f

8 files changed

Lines changed: 83 additions & 85 deletions

File tree

azure-sql/includes/sql-database-csharp-adonet-create-query-2.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
author: rothja
33
ms.author: jroth
4-
ms.date: 12/10/2018
4+
ms.date: 02/09/2026
55
ms.service: azure-sql-database
66
ms.topic: include
77
ms.custom: sfi-ropc-nochange
@@ -27,7 +27,7 @@ The ERD displays the relationship between the two tables. The values in the **ta
2727
![ERD showing foreign key](./media/sql-database-csharp-adonet-create-query-2/erd-dept-empl-fky-2.png)
2828

2929
> [!NOTE]
30-
> You have the option of editing the T-SQL to add a leading `#` to the table names, which creates them as temporary tables in *tempdb*. This is useful for demonstration purposes, when no test database is available. Any reference to foreign keys are not enforced during their use and temporary tables are deleted automatically when the connection closes after the program finishes running.
30+
> You have the option of editing the T-SQL to add a leading `#` to the table names, which creates them as temporary tables in *tempdb*. This is useful for demonstration purposes, when no test database is available. Foreign key references aren't enforced during their use, and temporary tables are deleted automatically when the connection closes after the program finishes running.
3131
3232
### To compile and run
3333

@@ -46,7 +46,7 @@ The C# program is logically one .cs file, and is physically divided into several
4646
- *cb.Password*
4747
- *cb.InitialCatalog*
4848

49-
1. Verify the assembly *System.Data.dll* is referenced. To verify, expand the **References** node in the **Solution Explorer** pane.
49+
1. Add the **Microsoft.Data.SqlClient** NuGet package to your project. In Visual Studio, right-click on the project in **Solution Explorer**, select **Manage NuGet Packages**, and search for `Microsoft.Data.SqlClient`.
5050

5151
1. To build and run the program from Visual Studio, select the **Start** button. The report output is displayed in a program window, though GUID values will vary between test runs.
5252

@@ -82,7 +82,7 @@ The C# program is logically one .cs file, and is physically divided into several
8282
8383
```csharp
8484
using System;
85-
using System.Data.SqlClient; // System.Data.dll
85+
using Microsoft.Data.SqlClient;
8686
//using System.Data; // For: SqlDbType , ParameterDirection
8787
8888
namespace csharp_db_test

azure-sql/virtual-machines/linux/sql-server-iaas-agent-extension-linux.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -92,14 +92,6 @@ $sqlext.AutoBackupSettings
9292

9393
The Linux SQL IaaS Agent extension has the following limitations:
9494

95-
- Only SQL Server VMs running on the Ubuntu Linux operating system are supported. Other Linux distributions aren't currently supported.
96-
97-
- SQL Server VMs running Ubuntu Pro aren't supported.
98-
99-
- SQL Server VMs running on generalized images aren't supported.
100-
101-
- Only SQL Server VMs deployed through the Azure Resource Manager are supported. SQL Server VMs deployed through the classic model aren't supported.
102-
10395
- SQL Server with only a single instance. Multiple instances aren't supported.
10496

10597
<a id="in-region-data-residency"></a>

docs/database-engine/configure-windows/ucs-flow-control-sp-configure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ EXEC sp_configure 'show advanced options', 1;
6767
RECONFIGURE;
6868
GO
6969

70-
EXEC sp_configure `max ucs send boxcars`, 1234;
70+
EXEC sp_configure 'max ucs send boxcars', 1234;
7171
RECONFIGURE;
7272
GO
7373
```

docs/integration-services/ssis-quickstart-deploy-dotnet.md

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "Deploy an SSIS project with .NET code (C#)"
33
description: "Deploy an SSIS project with C# code in a .NET app"
44
author: chugugrace
55
ms.author: chugu
6-
ms.date: "05/21/2018"
6+
ms.date: 02/09/2026
77
ms.service: sql
88
ms.subservice: integration-services
99
ms.topic: quickstart
@@ -34,17 +34,17 @@ You can use the information in this quickstart to deploy an SSIS project to the
3434

3535
- Azure SQL Database. For more info about deploying and running packages in Azure, see [Lift and shift SQL Server Integration Services workloads to the cloud](lift-shift/ssis-azure-lift-shift-ssis-packages-overview.md).
3636

37-
You cannot use the information in this quickstart to deploy an SSIS package to SQL Server on Linux. For more info about running packages on Linux, see [Extract, transform, and load data on Linux with SSIS](../linux/sql-server-linux-migrate-ssis.md).
37+
You can't use the information in this quickstart to deploy an SSIS package to SQL Server on Linux. For more info about running packages on Linux, see [Extract, transform, and load data on Linux with SSIS](../linux/sql-server-linux-migrate-ssis.md).
3838

3939
## For Azure SQL Database, get the connection info
4040

4141
To deploy the project to Azure SQL Database, get the connection information you need to connect to the SSIS Catalog database (SSISDB). You need the fully qualified server name and login information in the procedures that follow.
4242

43-
1. Log in to the [Azure portal](https://portal.azure.com/).
44-
2. Select **SQL Databases** from the left-hand menu, and then select the SSISDB database on the **SQL databases** page.
45-
3. On the **Overview** page for your database, review the fully qualified server name. To see the **Click to copy** option, hover over the server name.
43+
1. Sign in to the [Azure portal](https://portal.azure.com/).
44+
2. Select **SQL Databases** from the left-hand menu, and then select the SSISDB database on the **SQL databases** page.
45+
3. On the **Overview** page for your database, review the fully qualified server name. To see the **Click to copy** option, hover over the server name.
4646
4. If you forget your Azure SQL Database server login information, navigate to the SQL Database server page to view the server admin name. You can reset the password if necessary.
47-
5. Click **Show database connection strings**.
47+
5. Select **Show database connection strings**.
4848
6. Review the complete **ADO.NET** connection string. Optionally, your code can use a `SqlConnectionStringBuilder` to recreate this connection string with the individual parameter values that you provide.
4949

5050
## Supported authentication method
@@ -53,23 +53,24 @@ Refer to [authentication methods for deployment](ssis-quickstart-deploy-ssms.md#
5353

5454
## Create a new Visual Studio project
5555

56-
1. In Visual Studio, choose **File**, **New**, **Project**.
56+
1. In Visual Studio, choose **File**, **New**, **Project**.
5757
2. In the **New Project** dialog, and expand **Visual C#**.
5858
3. Select **Console App** and enter *deploy_ssis_project* for the project name.
59-
4. Click **OK** to create and open the new project in Visual Studio.
59+
4. Select **OK** to create and open the new project in Visual Studio.
6060

6161
## Add references
6262
1. In Solution Explorer, right-click the **References** folder and select **Add Reference**. The **Reference Manager** dialog box opens.
6363
2. In the **Reference Manager** dialog box, expand **Assemblies** and select **Extensions**.
6464
3. Select the following two references to add:
6565
- Microsoft.SqlServer.Management.Sdk.Sfc
6666
- Microsoft.SqlServer.Smo
67-
4. Click the **Browse** button to add a reference to **Microsoft.SqlServer.Management.IntegrationServices**. (This assembly is installed only in the global assembly cache (GAC).) The **Select the files to reference** dialog box opens.
67+
4. Select the **Browse** button to add a reference to **Microsoft.SqlServer.Management.IntegrationServices**. (This assembly is installed only in the global assembly cache (GAC).) The **Select the files to reference** dialog box opens.
6868
5. In the **Select the files to reference** dialog box, navigate to the GAC folder that contains the assembly. Typically this folder is `C:\Windows\assembly\GAC_MSIL\Microsoft.SqlServer.Management.IntegrationServices\14.0.0.0__89845dcd8080cc91`.
69-
6. Select the assembly (that is, the .dll file) in the folder and click **Add**.
70-
7. Click **OK** to close the **Reference Manager** dialog box and add the three references. To make sure the references are there, check the **References** list in Solution Explorer.
69+
6. Select the assembly (that is, the .dll file) in the folder and select **Add**.
70+
7. Select **OK** to close the **Reference Manager** dialog box and add the three references. To make sure the references are there, check the **References** list in Solution Explorer.
71+
8. Add the **Microsoft.Data.SqlClient** NuGet package. Right-click on the project in **Solution Explorer**, select **Manage NuGet Packages**, search for `Microsoft.Data.SqlClient`, and install it.
7172

72-
## Add the C# code
73+
## Add the C# code
7374
1. Open **Program.cs**.
7475

7576
2. Replace the contents of **Program.cs** with the following code. Add the appropriate values for your server, database, user, and password.
@@ -80,7 +81,7 @@ Refer to [authentication methods for deployment](ssis-quickstart-deploy-ssms.md#
8081
```csharp
8182
using Microsoft.SqlServer.Management.IntegrationServices;
8283
using System;
83-
using System.Data.SqlClient;
84+
using Microsoft.Data.SqlClient;
8485
using System.IO;
8586

8687
namespace deploy_ssis_project
@@ -127,17 +128,16 @@ namespace deploy_ssis_project
127128
1. To run the application, press **F5**.
128129
2. In SSMS, verify that the project has been deployed.
129130

130-
## Next steps
131-
- Consider other ways to deploy a package.
132-
- [Deploy an SSIS package with SSMS](./ssis-quickstart-deploy-ssms.md)
133-
- [Deploy an SSIS package with Transact-SQL (SSMS)](./ssis-quickstart-deploy-tsql-ssms.md)
134-
- [Deploy an SSIS package with Transact-SQL (VS Code)](ssis-quickstart-deploy-tsql-vscode.md)
135-
- [Deploy an SSIS package from the command prompt](./ssis-quickstart-deploy-cmdline.md)
136-
- [Deploy an SSIS package with PowerShell](ssis-quickstart-deploy-powershell.md)
137-
- Run a deployed package. To run a package, you can choose from several tools and languages. For more info, see the following articles:
138-
- [Run an SSIS package with SSMS](./ssis-quickstart-run-ssms.md)
139-
- [Run an SSIS package with Transact-SQL (SSMS)](./ssis-quickstart-run-tsql-ssms.md)
140-
- [Run an SSIS package with Transact-SQL (VS Code)](ssis-quickstart-run-tsql-vscode.md)
141-
- [Run an SSIS package from the command prompt](./ssis-quickstart-run-cmdline.md)
142-
- [Run an SSIS package with PowerShell](ssis-quickstart-run-powershell.md)
143-
- [Run an SSIS package with C#](./ssis-quickstart-run-dotnet.md)
131+
## Related content
132+
133+
- [Deploy an SSIS package with SSMS](./ssis-quickstart-deploy-ssms.md)
134+
- [Deploy an SSIS package with Transact-SQL (SSMS)](./ssis-quickstart-deploy-tsql-ssms.md)
135+
- [Deploy an SSIS package with Transact-SQL (VS Code)](ssis-quickstart-deploy-tsql-vscode.md)
136+
- [Deploy an SSIS package from the command prompt](./ssis-quickstart-deploy-cmdline.md)
137+
- [Deploy an SSIS package with PowerShell](ssis-quickstart-deploy-powershell.md)
138+
- [Run an SSIS package with SSMS](./ssis-quickstart-run-ssms.md)
139+
- [Run an SSIS package with Transact-SQL (SSMS)](./ssis-quickstart-run-tsql-ssms.md)
140+
- [Run an SSIS package with Transact-SQL (VS Code)](ssis-quickstart-run-tsql-vscode.md)
141+
- [Run an SSIS package from the command prompt](./ssis-quickstart-run-cmdline.md)
142+
- [Run an SSIS package with PowerShell](ssis-quickstart-run-powershell.md)
143+
- [Run an SSIS package with C#](./ssis-quickstart-run-dotnet.md)

docs/integration-services/ssis-quickstart-deploy-powershell.md

Lines changed: 23 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "Deploy an SSIS project with PowerShell"
33
description: "Deploy an SSIS project with PowerShell"
44
author: chugugrace
55
ms.author: chugu
6-
ms.date: "05/21/2018"
6+
ms.date: 02/09/2026
77
ms.service: sql
88
ms.subservice: integration-services
99
ms.topic: quickstart
@@ -30,17 +30,17 @@ You can use the information in this quickstart to deploy an SSIS project to the
3030

3131
- Azure SQL Database. For more info about deploying and running packages in Azure, see [Lift and shift SQL Server Integration Services workloads to the cloud](lift-shift/ssis-azure-lift-shift-ssis-packages-overview.md).
3232

33-
You cannot use the information in this quickstart to deploy an SSIS package to SQL Server on Linux. For more info about running packages on Linux, see [Extract, transform, and load data on Linux with SSIS](../linux/sql-server-linux-migrate-ssis.md).
33+
You can't use the information in this quickstart to deploy an SSIS package to SQL Server on Linux. For more info about running packages on Linux, see [Extract, transform, and load data on Linux with SSIS](../linux/sql-server-linux-migrate-ssis.md).
3434

3535
## For Azure SQL Database, get the connection info
3636

3737
To deploy the project to Azure SQL Database, get the connection information you need to connect to the SSIS Catalog database (SSISDB). You need the fully qualified server name and login information in the procedures that follow.
3838

3939
1. Sign in to the [Azure portal](https://portal.azure.com/).
40-
2. Select **SQL Databases** from the left-hand menu, and then select the SSISDB database on the **SQL databases** page.
41-
3. On the **Overview** page for your database, review the fully qualified server name. To see the **Click to copy** option, hover over the server name.
40+
2. Select **SQL Databases** from the left-hand menu, and then select the SSISDB database on the **SQL databases** page.
41+
3. On the **Overview** page for your database, review the fully qualified server name. To see the **Click to copy** option, hover over the server name.
4242
4. If you forget your Azure SQL Database server login information, navigate to the SQL Database server page to view the server admin name. You can reset the password if necessary.
43-
5. Click **Show database connection strings**.
43+
5. Select **Show database connection strings**.
4444
6. Review the complete **ADO.NET** connection string.
4545

4646
## Supported authentication method
@@ -64,7 +64,7 @@ $ProjectName = "Integration Services Project1"
6464
$catalog = Get-Item SQLSERVER:\SSIS\$TargetInstanceName\Catalogs\SSISDB\
6565
6666
# Create the target folder
67-
New-Object "Microsoft.SqlServer.Management.IntegrationServices.CatalogFolder" ($catalog,
67+
New-Object "Microsoft.SqlServer.Management.IntegrationServices.CatalogFolder" ($catalog,
6868
$TargetFolderName,"Folder description") -OutVariable folder
6969
$folder.Create()
7070
@@ -73,14 +73,16 @@ $folder.Create()
7373
$folder.DeployProject($ProjectName, $projectFile)
7474
7575
# Verify packages were deployed.
76-
dir "$($catalog.PSPath)\Folders\$TargetFolderName\Projects\$ProjectName\Packages" |
76+
dir "$($catalog.PSPath)\Folders\$TargetFolderName\Projects\$ProjectName\Packages" |
7777
SELECT Name, DisplayName, PackageId
7878
```
7979

8080
## PowerShell script
8181
Provide appropriate values for the variables at the top of the following script, and then run the script to deploy the SSIS project.
8282

8383
> [!NOTE]
84+
> The following script requires the **Microsoft.Data.SqlClient** assembly. Install it from the [NuGet package](https://www.nuget.org/packages/Microsoft.Data.SqlClient) and ensure the DLL is accessible to PowerShell. You can load it with `Add-Type -Path "path\to\Microsoft.Data.SqlClient.dll"` before running the script.
85+
>
8486
> The following example uses Windows Authentication to deploy to a SQL Server on premises. To use SQL Server authentication, replace the `Integrated Security=SSPI;` argument with `User ID=<user name>;Password=<password>;`. If you're connecting to an Azure SQL Database server, you can't use Windows authentication.
8587
8688
```powershell
@@ -98,7 +100,7 @@ $loadStatus = [System.Reflection.Assembly]::Load("Microsoft.SQLServer.Management
98100
# Create a connection to the server
99101
$sqlConnectionString = `
100102
"Data Source=" + $TargetServerName + ";Initial Catalog=master;Integrated Security=SSPI;"
101-
$sqlConnection = New-Object System.Data.SqlClient.SqlConnection $sqlConnectionString
103+
$sqlConnection = New-Object Microsoft.Data.SqlClient.SqlConnection $sqlConnectionString
102104
103105
# Create the Integration Services object
104106
$integrationServices = New-Object $SSISNamespace".IntegrationServices" $sqlConnection
@@ -120,17 +122,16 @@ $folder.DeployProject($ProjectName, $projectFile)
120122
Write-Host "Done."
121123
```
122124

123-
## Next steps
124-
- Consider other ways to deploy a package.
125-
- [Deploy an SSIS package with SSMS](./ssis-quickstart-deploy-ssms.md)
126-
- [Deploy an SSIS package with Transact-SQL (SSMS)](./ssis-quickstart-deploy-tsql-ssms.md)
127-
- [Deploy an SSIS package with Transact-SQL (VS Code)](ssis-quickstart-deploy-tsql-vscode.md)
128-
- [Deploy an SSIS package from the command prompt](./ssis-quickstart-deploy-cmdline.md)
129-
- [Deploy an SSIS package with C#](./ssis-quickstart-deploy-dotnet.md)
130-
- Run a deployed package. To run a package, you can choose from several tools and languages. For more info, see the following articles:
131-
- [Run an SSIS package with SSMS](./ssis-quickstart-run-ssms.md)
132-
- [Run an SSIS package with Transact-SQL (SSMS)](./ssis-quickstart-run-tsql-ssms.md)
133-
- [Run an SSIS package with Transact-SQL (VS Code)](ssis-quickstart-run-tsql-vscode.md)
134-
- [Run an SSIS package from the command prompt](./ssis-quickstart-run-cmdline.md)
135-
- [Run an SSIS package with PowerShell](ssis-quickstart-run-powershell.md)
136-
- [Run an SSIS package with C#](./ssis-quickstart-run-dotnet.md)
125+
## Related content
126+
127+
- [Deploy an SSIS package with SSMS](./ssis-quickstart-deploy-ssms.md)
128+
- [Deploy an SSIS package with Transact-SQL (SSMS)](./ssis-quickstart-deploy-tsql-ssms.md)
129+
- [Deploy an SSIS package with Transact-SQL (VS Code)](ssis-quickstart-deploy-tsql-vscode.md)
130+
- [Deploy an SSIS package from the command prompt](./ssis-quickstart-deploy-cmdline.md)
131+
- [Deploy an SSIS package with C#](./ssis-quickstart-deploy-dotnet.md)
132+
- [Run an SSIS package with SSMS](./ssis-quickstart-run-ssms.md)
133+
- [Run an SSIS package with Transact-SQL (SSMS)](./ssis-quickstart-run-tsql-ssms.md)
134+
- [Run an SSIS package with Transact-SQL (VS Code)](ssis-quickstart-run-tsql-vscode.md)
135+
- [Run an SSIS package from the command prompt](./ssis-quickstart-run-cmdline.md)
136+
- [Run an SSIS package with PowerShell](ssis-quickstart-run-powershell.md)
137+
- [Run an SSIS package with C#](./ssis-quickstart-run-dotnet.md)

0 commit comments

Comments
 (0)