DatabaseProvider Class

Represents the base class that needs to be implemented in order to manage a database.

Inheritance Hierarchy


Namespace:  Microsoft.Web.Management.DatabaseManager
Assembly:  Microsoft.Web.Management.DatabaseManager (in Microsoft.Web.Management.DatabaseManager.dll)


Public MustInherit Class DatabaseProvider _
    Implements IServiceProvider
Dim instance As DatabaseProvider
public abstract class DatabaseProvider : IServiceProvider
public ref class DatabaseProvider abstract : IServiceProvider
public abstract class DatabaseProvider implements IServiceProvider

The DatabaseProvider type exposes the following members.


  Name Description
Protected method DatabaseProvider Creates a new instance of the DatabaseProvider class.



  Name Description
Public property ConnectionStringArguments Gets a collection that contains the collection of database connection arguments.



  Name Description
Public method CalculateConnectionString Returns the calculated connection string for the database provider.
Public method Equals (Inherited from Object.)
Public method ExecuteQuery Returns an array of query results after executing a database query.
Protected method Finalize (Inherited from Object.)
Public method GetDatabaseHostName Returns the host name of the computer where the database in the connection string is located.
Public method GetDatabaseInfo Returns database-specific information for the database provider.
Public method GetHashCode (Inherited from Object.)
Public method GetServerTypes Returns the list of supported server types for a database provider.
Public method GetService Returns the service object for a database provider.
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method TestConnection Tests a connection string for a database provider.
Public method ToString (Inherited from Object.)
Public method VerifyDependencies Verifies the database dependencies for your provider.



When writing a database provider, your provider must implement the base DatabaseProvider class and must also implement the following abstract members:


See the Notes for Implementers section in the Microsoft.Web.Management.DatabaseManager topic for instructions about how to register your database provider for use with IIS Manager.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also


Microsoft.Web.Management.DatabaseManager Namespace