Collapse the table of content
Expand the table of content

System.Data.Sql Namespace

Note: This namespace is new in the .NET Framework version 2.0.

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 and Using Query Notifications.


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 Using SQL Server Common Language Runtime Integration.

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