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 |
|
|
=azuresqldb-current || =azure-sqldw-latest || >=sql-server-2016 || >=sql-server-linux-2017 || =azuresqldb-mi-current || =fabric |
[!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.
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.