Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 1.77 KB

File metadata and controls

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

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