System.Data.Sql Namespace

The System.Data.Sql namespace contains classes that support SQL Server-specific functionality.

For information about the functionality that the classes within this namespace support, see Enumerating Instances of SQL Server (ADO.NET) and Query Notifications in SQL Server (ADO.NET).


In beta releases of ADO.NET version 2.0, the System.Data.Sql namespace also contained classes for use with SQL Server common language runtime (CLR) integration. However, those classes have been moved into their own namespace, Microsoft.SqlServer.Server. For more information about using SQL Server CLR integration, see SQL Server Common Language Runtime Integration (ADO.NET).

Public classSqlDataSourceEnumeratorProvides a mechanism for enumerating all available instances of SQL Server within the local network.
Public classSqlNotificationRequestRepresents a request for notification for a given command.

Community Additions

© 2015 Microsoft