SMO Programming - Getting Started in Visual C# .NET

Visual C# .NET is one of the managed programming languages that are supported by the common language runtime (CLR) in Visual Studio .NET. Many For more information about the C# language, see the Visual Studio .NET documentation. You can use Visual Studio 2005 and Visual Studio 2008 to develop SMO applications.

References and Imports

After you have started the Visual Studio 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 SQL Server 2017, the SMO assemblies are located in the C:\Program Files\Microsoft SQL Server\130\SDK\Assemblies\ folder.

See Also

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