System.Data.Sql Namespace

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

Remarks

For information about the functionality that the classes within this namespace support, see Enumerating Instances of SQL Server and Using Query Notifications.

Note:

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.

Classes

TypeReason
SqlDataSourceEnumerator

Provides a mechanism for enumerating all available instances of SQL Server within the local network.

SqlNotificationRequest

Represents a request for notification for a given command.