Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 1.77 KB

smo-programming-getting-started-in-visual-csharp-net.md

File metadata and controls

29 lines (23 loc) · 1.77 KB
title description author ms.author ms.date ms.service ms.topic ms.custom helpviewer_keywords monikerRange
Getting Started in Visual C# .NET
SMO Programming - Getting Started in Visual C# .NET
markingmyname
maghan
08/02/2016
sql
quickstart
intro-quickstart
ignite-2024
Visual C# [SMO]
=azuresqldb-current || =azure-sqldw-latest || >=sql-server-2016 || >=sql-server-linux-2017 || =azuresqldb-mi-current || =fabric

SMO Programming - Getting Started in Visual C# .NET

[!INCLUDE SQL Server Azure SQL Database Azure SQL Managed Instance Synapse Analytics FabricSQLDB]

[!INCLUDEc-sharp] .NET is one of the managed programming languages that are supported by the common language runtime (CLR) in [!INCLUDEvsprvs] .NET. Many For more information about the C# language, see the [!INCLUDEvsprvs] .NET documentation. You can use [!INCLUDEvsprvs2005] and [!INCLUDEvsprvs2008] to develop SMO applications.

References and Imports

After you have started the [!INCLUDEvsprvs] project, you must add references to the SMO assemblies. You then import the required namespaces so that your program can recognize the SMO types.

In [!INCLUDE sssql22-md], the SMO assemblies are located in the C:\Program Files\Microsoft SQL Server\160\SDK\Assemblies\ folder.

See Also

Create a Visual C# SMO Project in Visual Studio .NET