SqlDatabase Class

Represents a SQL Server database.

Namespace: Microsoft.Practices.EnterpriseLibrary.Data.Sql
Assembly: Microsoft.Practices.EnterpriseLibrary.Data (in Microsoft.Practices.EnterpriseLibrary.Data.dll)

Syntax

'Declaration
<ConfigurationElementTypeAttribute(GetType(SqlDatabaseData))> _
<SqlClientPermissionAttribute(SecurityAction.Demand)> _
Public Class SqlDatabase _
    Inherits Database
[ConfigurationElementTypeAttribute(typeof(SqlDatabaseData))]
[SqlClientPermissionAttribute(SecurityAction.Demand)]
public class SqlDatabase : Database
[ConfigurationElementTypeAttribute(typeof(SqlDatabaseData))]
[SqlClientPermissionAttribute(SecurityAction::Demand)]
public ref class SqlDatabase : public Database
public class SqlDatabase extends Database

Remarks

Internally uses SQL Server .NET Managed Provider from Microsoft (System.Data.SqlClient) to connect to the database.

Inheritance Hierarchy

System.Object
Microsoft.Practices.EnterpriseLibrary.Data.Database
Microsoft.Practices.EnterpriseLibrary.Data.Sql.SqlDatabase

See Also

SqlDatabase Members

Microsoft.Practices.EnterpriseLibrary.Data.Sql Namespace